index out of bounds exception
-----------------------------

                 Key: PDFBOX-468
                 URL: https://issues.apache.org/jira/browse/PDFBOX-468
             Project: PDFBox
          Issue Type: Bug
            Reporter: Sean Bridges
             Fix For: 0.8.0-incubator


This is with  svn revision 773978

I get an index out of bounds exception parsing pdf files, I can't give you the 
file but the exception is,

Caused by: org.apache.pdfbox.exceptions.WrappedIOException
        at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:228)
        at 
message_analyzer.extractor.PDFExtractor.getContent(PDFExtractor.java:32)
        ... 19 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.apache.pdfbox.pdfparser.BaseParser.cmpCircularBuffer(BaseParser.java:398)
        at 
org.apache.pdfbox.pdfparser.BaseParser.readUntilEndStream(BaseParser.java:355)
        at 
org.apache.pdfbox.pdfparser.BaseParser.parseCOSStream(BaseParser.java:322)
        at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:490)
        at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:169)
        ... 20 more



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to