java.lang.NullPointerException

Icesoft | drgorb | 7 years ago
  1. 0

    my mistake (can I delete a message?)

    Icesoft | 7 years ago | drgorb
    java.lang.NullPointerException
  2. 0

    When displaying the pages in the provided PDF file the following NPE is thrown with the ICEpdf Viewer: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.ri.common.views.annotations.AnnotationComponentFactory.buildAnnotationComponent(AnnotationComponentFactory.java:56) at org.icepdf.ri.common.views.AbstractPageViewComponent.refreshAnnotationComponents(AbstractPageViewComponent.java:187) at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer$1.run(PageViewComponentImpl.java:1159) 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) When calling Document.getPageImage the following NPE is thrown: java.lang.NullPointerException at org.icepdf.core.pobjects.Page.paintPageContent(Page.java:599) at org.icepdf.core.pobjects.Page.paint(Page.java:531) at org.icepdf.core.pobjects.Page.paint(Page.java:460) at org.icepdf.core.pobjects.Document.getPageImage(Document.java:1116) at proquest.proc.icepdf.IcePdfProcessor.generatePageImage(IcePdfProcessor.scala:56) Even with these errors the PDR renders fine.

    ICEsoft JIRA Issue Tracker | 2 years ago | Arran Mccullough
    java.lang.NullPointerException
  3. 0

    When displaying the pages in the provided PDF file the following NPE is thrown with the ICEpdf Viewer: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.ri.common.views.annotations.AnnotationComponentFactory.buildAnnotationComponent(AnnotationComponentFactory.java:56) at org.icepdf.ri.common.views.AbstractPageViewComponent.refreshAnnotationComponents(AbstractPageViewComponent.java:187) at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer$1.run(PageViewComponentImpl.java:1159) 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) When calling Document.getPageImage the following NPE is thrown: java.lang.NullPointerException at org.icepdf.core.pobjects.Page.paintPageContent(Page.java:599) at org.icepdf.core.pobjects.Page.paint(Page.java:531) at org.icepdf.core.pobjects.Page.paint(Page.java:460) at org.icepdf.core.pobjects.Document.getPageImage(Document.java:1116) at proquest.proc.icepdf.IcePdfProcessor.generatePageImage(IcePdfProcessor.scala:56) Even with these errors the PDR renders fine.

    ICEsoft JIRA Issue Tracker | 2 years ago | Arran Mccullough
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Support for PDF 1.7

    Icesoft | 7 years ago | bmyers
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.icepdf.core.pobjects.Document.getPageImage()
    2. org.icepdf.core
      Document.getPageImage
      1. org.icepdf.core.pobjects.Document.getPageImage(Document.java:1029)
      1 frame
    3. ch.sertal.forms
      TestFetchFormDataMail.testContextInitialized
      1. ch.sertal.forms.server.FetchFormDataMail$MailTimer.run(FetchFormDataMail.java:127)
      2. ch.sertal.forms.data.TestFetchFormDataMail.testContextInitialized(TestFetchFormDataMail.java:19)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:232)
      8. junit.framework.TestSuite.run(TestSuite.java:227)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
      9 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames