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

Nullpointer exception in PDFXrefStreamParser.parse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.9, 1.8.10, 2.0.0
    • 1.8.10, 2.0.0
    • Parsing
    • None
    • 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

        1. scan-canon-windows8.pdf
          502 kB
          jerome girardini

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: