java.io.IOException: Error: Expected a long type at offset 2, instead got 'DF-1.4'

pdfbox-dev | Andreas Lehmkühler (JIRA) | 1 year 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

    [jira] [Updated] (PDFBOX-3179) PDDocument.load() Error: Expected a long type at offset 2, instead got 'DF-1.4'

    pdfbox-dev | 1 year ago | Andreas Lehmkühler (JIRA)
    java.io.IOException: Error: Expected a long type at offset 2, instead got 'DF-1.4'
  2. 0

    [jira] [Assigned] (PDFBOX-3179) PDDocument.load() Error: Expected a long type at offset 2, instead got 'DF-1.4'

    pdfbox-dev | 1 year ago | Andreas Lehmkühler (JIRA)
    java.io.IOException: Error: Expected a long type at offset 2, instead got 'DF-1.4'
  3. 0

    [jira] [Commented] (PDFBOX-3179) PDDocument.load() Error: Expected a long type at offset 2, instead got 'DF-1.4'

    pdfbox-dev | 1 year ago | ASF subversion and git services (JIRA)
    java.io.IOException: Error: Expected a long type at offset 2, instead got 'DF-1.4'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Resolved] (PDFBOX-3179) PDDocument.load() Error: Expected a long type at offset 2, instead got 'DF-1.4'

    pdfbox-dev | 1 year ago | Andreas Lehmkühler (JIRA)
    java.io.IOException: Error: Expected a long type at offset 2, instead got 'DF-1.4'
  6. 0

    Zip file as InputStream then separating each file inside it then converting it to image. In Java

    Stack Overflow | 5 years ago | JHS
    java.io.IOException: expected='endstream' actual='' org.apache.pdfbox.io.PushBackInputStream@44c2beb9

    12 unregistered visitors
    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.io.IOException

      Error: Expected a long type at offset 2, instead got 'DF-1.4'

      at org.apache.pdfbox.pdfparser.BaseParser.readLong()
    2. Apache PDFBox
      PDDocument.load
      1. org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1340)
      2. org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1268)
      3. org.apache.pdfbox.pdfparser.COSParser.parseXrefObjStream(COSParser.java:321)
      4. org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:287)
      5. org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:189)
      6. org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:246)
      7. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:855)
      8. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:811)
      9. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:765)
      9 frames