java.lang.NullPointerException

pdfbox-dev | Andreas Lehmkühler (JIRA) | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  2. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  5. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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.apache.fontbox.cff.CharStringRenderer.rrcurveTo()
    2. Apache FontBox
      AFMFormatter.format
      1. org.apache.fontbox.cff.CharStringRenderer.rrcurveTo(CharStringRenderer.java:148)
      2. org.apache.fontbox.cff.CharStringRenderer.handleCommand(CharStringRenderer.java:77)
      3. org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:46)
      4. org.apache.fontbox.cff.CharStringRenderer.render(CharStringRenderer.java:48)
      5. org.apache.fontbox.cff.AFMFormatter.renderFont(AFMFormatter.java:126)
      6. org.apache.fontbox.cff.AFMFormatter.printFontMetrics(AFMFormatter.java:64)
      7. org.apache.fontbox.cff.AFMFormatter.printFont(AFMFormatter.java:57)
      8. org.apache.fontbox.cff.AFMFormatter.format(AFMFormatter.java:50)
      8 frames
    3. Apache PDFBox
      PDFTextStripper.getText
      1. org.apache.pdfbox.pdmodel.font.PDType1CFont.prepareFontMetric(PDType1CFont.java:505)
      2. org.apache.pdfbox.pdmodel.font.PDType1CFont.load(PDType1CFont.java:382)
      3. org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:107)
      4. org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:124)
      5. org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:76)
      6. org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:115)
      7. org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:225)
      8. org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:207)
      9. org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:367)
      10. org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:291)
      11. org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:247)
      12. org.apache.pdfbox.util.PDFTextStripper.getText(PDFTextStripper.java:180)
      12 frames
    4. Apache Tika parsers
      PDFParser.parse
      1. org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:56)
      2. org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:81)
      2 frames
    5. Apache Tika core
      AutoDetectParser.parse
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:121)
      2. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:104)
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:117)
      3 frames
    6. ibi.search.lucene
      LuceneFastXmlFeedServlet.doPost
      1. ibi.search.lucene.feed.LuceneFastFeed.parseFeedContent(LuceneFastFeed.java:2566)
      2. ibi.search.lucene.feed.LuceneFastFeed.parseFeed(LuceneFastFeed.java:1445)
      3. ibi.search.lucene.feed.LuceneFastFeed.<init>(LuceneFastFeed.java:925)
      4. ibi.search.lucene.feed.LuceneFastXmlFeedServlet.doPost(LuceneFastXmlFeedServlet.java:575)
      4 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      1 frame
    8. ibi.srv.util
      IBIHttpServlet.service
      1. ibi.srv.util.IBIHttpServlet.service(IBIHttpServlet.java:121)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    10. ibi.srv.util
      IBIHttpServlet.service
      1. ibi.srv.util.IBIHttpServlet.service(IBIHttpServlet.java:130)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    12. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      3 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame