Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1
-
Fix Version/s: 6.1.1
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13745 - https://icesoft.my.salesforce.com/5007000001aSB4q
Description
With the provided PDF file the following error is thrown when opening the PDF file. This error prevents the file from being loaded:\
FINE: Error opening document.
java.lang.NullPointerException
at org.icepdf.ri.common.SwingController.isPdfCollection(SwingController.java:1038)
at org.icepdf.ri.common.SwingController.commonNewDocumentHandling(SwingController.java:2186)
at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1762)
at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1716)
at org.icepdf.ri.common.SwingController.openFile(SwingController.java:1696)
at org.icepdf.ri.common.SwingController$8.run(SwingController.java:3876)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
FINE: Error opening document.
java.lang.NullPointerException
at org.icepdf.ri.common.SwingController.isPdfCollection(SwingController.java:1038)
at org.icepdf.ri.common.SwingController.commonNewDocumentHandling(SwingController.java:2186)
at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1762)
at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1716)
at org.icepdf.ri.common.SwingController.openFile(SwingController.java:1696)
at org.icepdf.ri.common.SwingController$8.run(SwingController.java:3876)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Activity
Arran Mccullough
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.1.1 [ 12975 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48590 | Fri Apr 01 09:39:24 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/examples/capture/PortfolioCapture.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48591 | Fri Apr 01 09:39:41 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/examples/capture/PortfolioCapture.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48606 | Mon Apr 04 13:13:07 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Added a null pointer check. Marking as fixed.