I have a PDF file as file resource (test.pdf) in my database and the following xpage which displays it as an embedded object:
<?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>
It works all fine in the web browser (Firefox). When I open the xpage in the Notes client (XPiNC) for the first time the PDF is also displayed embedded. But when I open the xpage a few times the Client crashes.
I use Release 8.5.3FP1.
Do you have any suggestions? Is the use of the object tag forbidden in XPiNC?
As recommended in the answer from Simon O'Doherty I checked all files in 'IBM_TECHNICAL_SUPPORT' and 'workspace\logs' folder which were modified since/ after the client crashed.
There were no FATAL in the nsd file.
error-log-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.
Thx in advance.