org.apache.pdfbox.exceptions.WrappedIOException

pdfbox-users | Erik Scholtz, ArgonSoft GmbH | 7 years ago
  1. 0

    Valid PDF not Parsing: NoSuchElementException

    pdfbox-users | 7 years ago | Baldwin, David
    org.apache.pdfbox.exceptions.WrappedIOException
  2. 0

    Re: Valid PDF not Parsing: NoSuchElementException

    pdfbox-users | 7 years ago | Erik Scholtz, ArgonSoft GmbH
    org.apache.pdfbox.exceptions.WrappedIOException
  3. 0

    Valid PDF not Parsing: NoSuchElementException

    pdfbox-users | 7 years ago | Baldwin, David
    org.apache.pdfbox.exceptions.WrappedIOException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Valid PDF not Parsing: NoSuchElementException

    pdfbox-users | 7 years ago | Erik Scholtz, ArgonSoft GmbH
    org.apache.pdfbox.exceptions.WrappedIOException
  6. 0

    SYMPTOM this is the full stack trace that i'm observing with the PDF file i attached @ https://issues.apache.org/jira/secure/attachment/12422836/PwC-Tech-Forecast-Spring-2009.pdf Exception in thread "main" org.apache.pdfbox.exceptions.WrappedIOException at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:237) at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:860) at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:825) at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:750) at org.apache.pdfbox.ExtractText.main(ExtractText.java:173) Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:115) at org.apache.pdfbox.cos.COSDocument.parseXrefStreams(COSDocument.java:538) at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:203) ... 4 more STEPS cmdline: org.apache.pdfbox.ExtractText on the file i found the exception also @ PDFBOX-533 (https://issues.apache.org/jira/browse/PDFBOX-533?focusedCommentId=12756825&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12756825) but am not sure if this is the same case or not as this file is a lot smaller and have so little clue about the internal structure of PDF that i even can follow any of the comments. sorry. see also https://issues.apache.org/jira/browse/PDFBOX-186 how i got to create this issue.

    Apache's JIRA Issue Tracker | 7 years ago | thomas menzel
    org.apache.pdfbox.exceptions.WrappedIOException

    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.util.NoSuchElementException

      No message provided

      at java.util.AbstractList$Itr.next()
    2. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.next(AbstractList.java:427)
      1 frame
    3. Apache PDFBox
      ExtractText.main
      1. org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:115)
      2. org.apache.pdfbox.cos.COSDocument.parseXrefStreams(COSDocument.java:538)
      3. org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:203)
      4. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:860)
      5. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:825)
      6. org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:750)
      7. org.apache.pdfbox.ExtractText.main(ExtractText.java:173)
      7 frames