Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0 - Beta
-
Fix Version/s: 4.0
-
Component/s: Viewer RI
-
Labels:None
-
Environment:RI Viewer
-
Workaround Description:Edit Swing controller and comment out PrintHelper null pointer check in ShowPrintSetupDailog and initializePrinting dialogs.
Description
The Swing controller will though a null pointer when opening a second document for printing.
1. Open a document, print it
2. Close the first document
3. Open a second document, print it.
4. a null pointer will result.
1. Open a document, print it
2. Close the first document
3. Open a second document, print it.
4. a null pointer will result.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The SwingController was lazy loading the PrintHelper object and thus only setting up the reference to the pageTree of the first document loaded and not for any subsequent documents. I've updated the SwingController to make sure it creates a new instance of the printHelper when a new document is loaded.