在XPiNC中使用对象标记和pdf时,Notes客户端崩溃

时间:2012-08-21 20:17:18

标签: xpages xpinc

我的数据库中有一个PDF文件作为文件资源(test.pdf),下面的xpage将其显示为嵌入对象:

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">

<xp:panel tagName="object">
    <xp:this.attrs>
        <xp:attr name="data" value="test.pdf"></xp:attr>
        <xp:attr name="type" value="application/pdf"></xp:attr>
        <xp:attr name="width" value="600"></xp:attr>
        <xp:attr name="height" value="600"></xp:attr>
    </xp:this.attrs>

    It appears your Web browser is not configured to display PDF files. No worries, just <a href='test.pdf'>click here to download the PDF file.</a>
</xp:panel>
</xp:view>

它在网络浏览器(Firefox)中运行良好。当我第一次在Notes客户端(XPiNC)中打开xpage时,PDF也会嵌入显示。但是当我打开xpage几次时,客户端崩溃了。

我使用版本8.5.3FP1。

你有什么建议吗?是否在XPiNC中禁止使用object标签?


根据Simon O'Doherty的回答中的建议,我检查了“IBM_TECHNICAL_SUPPORT”和“workspace \ logs”文件夹中的所有文件,这些文件在客户端崩溃后/之后被修改。

nsd文件中没有FATAL。

错误日志-1.XML:

<CommonBaseEvent creationTime="2012-08-21T22:08:27.093+02:00" globalInstanceId="ELc0a808f50001394acb55ed00000009" msg="Project facet jst.web has not been defined. It is used in plugin org.eclipse.wst.jsdt.web.core." severity="50" version="1.0.1">
<extendedDataElements name="CommonBaseEventLogRecord:level" type="noValue">
    <children name="CommonBaseEventLogRecord:name" type="string"> 
        <values>SCHWERWIEGEND</values>
    </children>
</extendedDataElements>
<sourceComponentId component="Expeditor 6.2" componentIdType="ProductName" instanceId="1327306362466" location="MBS-86" locationType="Hostname" subComponent="org.eclipse.wst.common.project.facet.core" threadId="4" componentType="http://www.w3.org/2001/XMLSchema-instance"/>
<situation categoryName="ReportSituation">
    <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>´

console_MBS-86_2012_08_21@22_06_40.log:

[0548:0002-1230] 21.08.2012 22:27:14,34 DeskClientOpenInt> Calling CreateProgramRCP     pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
[0548:0002-1230] 21.08.2012 22:27:14,37 DeskClientOpenInt> Executed CreateProgramRCP
[0548:0002-1230] 21.08.2012 22:27:21,35 DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
[0548:0002-1230] 21.08.2012 22:27:21,38 DeskClientOpenInt> Executed CreateProgramRCP
[0548:0002-1230] 21.08.2012 22:27:27,27 DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
[0548:0002-1230] 21.08.2012 22:27:27,29 DeskClientOpenInt> Executed CreateProgramRCP
[0548:000E-0D34]  Thread=[0548:000E-0D34]
[0548:000E-0D34] Stack base=0x05F70084, Stack size = 2560 bytes
[0548:000E-0D34] PANIC: The notes2 process (pid=2052) exited unexpectedly.

提前谢谢。

2 个答案:

答案 0 :(得分:1)

处理崩溃事件。

  1. 在数据文件夹下的IBM_TECHNICAL_SUPPORT文件夹中应该有一个NSD文件。打开该文件并搜索FATAL并发布致命线程。

  2. 如果没有FATAL堆栈,请检查workspace \ logs文件夹中是否有任何Javacores或错误日志。对于错误日志,您需要查找SEVERE引用,因为这些引用最有可能导致崩溃。

  3. 还要检查IBM_TECHNICAL_SUPPORT文件夹中的XPages日志是否有任何错误。

  4. 如果没有这些细节,就无法诊断根本原因。

答案 1 :(得分:-1)

从Adobe Reader 8.1.4升级到Adobe Acrobat X / Reader 10.1.4修复了问题,自更新以来没有发生崩溃。