java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Arran Mccullough | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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)

    ICEsoft JIRA Issue Tracker | 1 year ago | Arran Mccullough
    java.lang.NullPointerException
  2. 0

    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)

    ICEsoft JIRA Issue Tracker | 1 year ago | Arran Mccullough
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.icepdf.ri.common.SwingController.isPdfCollection()
    2. org.icepdf.ri
      SwingController$8.run
      1. org.icepdf.ri.common.SwingController.isPdfCollection(SwingController.java:1038)
      2. org.icepdf.ri.common.SwingController.commonNewDocumentHandling(SwingController.java:2186)
      3. org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1762)
      4. org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1716)
      5. org.icepdf.ri.common.SwingController.openFile(SwingController.java:1696)
      6. org.icepdf.ri.common.SwingController$8.run(SwingController.java:3876)
      6 frames
    3. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      14 frames