java.io.IOException: expected='endobj' firstReadAttempt='' secondReadAttempt='' org.apache.pdfbox.io.PushBackInputStream@1027b4d

Oracle Community | 843804 | 7 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

    Exception while PDF Parsing through PDFBOX jar

    Oracle Community | 7 years ago | 843804
    java.io.IOException: expected='endobj' firstReadAttempt='' secondReadAttempt='' org.apache.pdfbox.io.PushBackInputStream@1027b4d
  2. 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
  3. 0

    pdfbox throwing error while trying use printFields example

    Stack Overflow | 3 years ago | user583726
    java.io.IOException: Error: End-of-File, expected line
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while parsing Binary Files... (mostly PDF)

    Stack Overflow | 5 years ago | lining
    java.io.IOException: expected='endstream' actual='' org.apache.pdfbox.io.PushBackInputStream@70dbdc4b
  6. 0

    How to modify the class file?

    Stack Overflow | 5 years ago | lining
    java.io.IOException: expected='endstream' actual='' org.apache.pdfbox.io.PushBackInputStream@1b8d77fe

    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

      expected='endobj' firstReadAttempt='' secondReadAttempt='' org.apache.pdfbox.io.PushBackInputStream@1027b4d

      at org.apache.pdfbox.pdfparser.PDFParser.parseObject()
    2. Apache PDFBox
      PDDocument.load
      1. org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:485)
      2. org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:165)
      3. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:847)
      4. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:814)
      5. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:785)
      5 frames
    3. Unknown
      TestPDFReader.main
      1. TestPDFReader.extractPDFContents(TestPDFReader.java:50)
      2. TestPDFReader.getFileContents(TestPDFReader.java:29)
      3. TestPDFReader.main(TestPDFReader.java:70)
      3 frames