Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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