Export to PDF - DXL Exporter Failed or Lotus Notes Client Crashes
 
Product:
 
Export Utility for Lotus Notes / Domino
>
Export to PDF
>
Version
All
 
Platform(s):
 
All
 
Edition(s):
 
All
 
Doc Number:
 
1000095
Published
11-Dec-2016
 Problem
When exporting Notes documents to PDF an DXL Export Error may occur (if using Lotus Notes 8.x) or the Lotus Notes client crashes (if using Lotus Notes 9.x).
 Solution
The Problem
A customer encountered a particular condition causing exporting to fail. The issue manifested itself in different ways depending on the version of Lotus Notes / Domino being used.
Lotus Notes / Domino 8.x
The following error occurred:
Could not get DXL for document with Note ID 9F5E: <error id='7112'>Error occurred during processing of note ID 0x9F5E</error><error id='7001'>DXL exporter failed</error><error>DXL exporter operation failed</error>
Lotus Notes / Domino 9.x
The Lotus Notes client crashed. The NSD log showed the following information for the fatal thread:
############################################################
### FATAL THREAD 1/34 [ NLNOTES: 217c: 21f0]
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
@[ 1] 0x70516b71 ndxlo.CElementMaker::FindChild+33 (73e6322c,0,6a2e60,6a2828)
@[ 2] 0x7052e0e5 ndxlo.CRichTextToXml::CdCellBackgroundData+261 (6a2828,8f8e3c0,8f8e3ac,6a246c)
@[ 3] 0x70527f80 ndxlo.CRichTextToXml::Dispatch+528 (a,6a34a4,6a2828,7053c1ac)
@[ 4] 0x704fa81a ndxlo.CCdToXml::Translate+330 (de,7053d644,53f10da0,5177c0d0)
@[ 5] 0x70527234 ndxlo.CRichTextToXml::Translate+84 (0,5177c0c8,6a3944,5c07614f)
@[ 6] 0x7051d3fe ndxlo.WriteTypeData+2654 (6a35a0,de,1,a8f0486)
Cause of the Problem
In this particular situation the problem was caused by inconsistent information being saved for tables in several forms and subforms. Some table cells had invalid 'cellbackground' properties saved for them. When viewing the design of a form using the Lotus Notes DXL editor the following properties were seen:
A valid 'cellbackground' tag must have a child element representing the background image to be displayed.
Resolution
The invalid cellbackground properties must be removed. This can only be done using using the Lotus DXL Editor - editing the table using the standard form design editor doesn't remove the cellbackground.
To remove the cellbackground tags follow the steps below.
1. Open your application in the Lotus Domino Designer client.
2. Expand the list of Form in the left-hand navigation pane of the Designer client.
3. Right mouse click the form that needs to be fixed then select 'Edit with DXL' (see following image)
4. Answer Yes to the prompts to confirm you want to edit the design in the DXL editor.
5. The DXL code for the form should now be displayed (see following image)
6. Search for 'cellbackground'. If found you will see code similar to the following:
7. The complete block of code as highlighted in the previous image should be removed. The red arrow in the following image shows where the line of code was.
8. Continue searching for other instances of 'cellbackground'.
9. Close the DXL editor and save the changes.
10. Repeat the above steps for other forms / subforms in your application.
11. After the finishing the correction of the application design run the export again.
©
2016
AGE Computer Consultancy. All rights reserved.
Material may not be reproduced or distributed in any form without permission.