java.lang.NullPointerException

pdfbox-dev | Andreas Lehmkühler (JIRA) | 6 years 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.

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