Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2733

Nullpointer exception in PDFXrefStreamParser.parse

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.9, 1.8.10, 2.0.0
    • Fix Version/s: 1.8.10, 2.0.0
    • Component/s: Parsing
    • Labels:
      None
    • Environment:
      windows 7

      Description

      with some pdf, an nullpointer is sent during the parsing

      Here is the trace :

      Caused by: java.lang.NullPointerException
      at org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:91)
      at org.apache.pdfbox.pdfparser.COSParser.parseXrefStream(COSParser.java:1836)
      at org.apache.pdfbox.pdfparser.COSParser.parseXrefObjStream(COSParser.java:320)
      at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:280)
      at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:314)
      at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:373)
      at ch.ge.afc.ael.commun.piecejointe.UtiPdf.loadDocument(UtiPdf.java:439)

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              jgi74 jerome girardini
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: