Andreas Lehmkühler created PDFBOX-5456:
------------------------------------------
Summary: java.lang.IllegalArgumentException: Generation number
must not be a negative value
Key: PDFBOX-5456
URL: https://issues.apache.org/jira/browse/PDFBOX-5456
Project: PDFBox
Issue Type: Bug
Components: Parsing
Affects Versions: 3.0.0 PDFBox
Reporter: Andreas Lehmkühler
Assignee: Andreas Lehmkühler
Fix For: 3.0.0 PDFBox
Attachments: GHOSTSCRIPT-695040-0.zip-79.pdf,
poppler-91414-1.zip-2.gz-69.pdf
The rendering of the attached files fails using the current trunk. It works
with 3.0.0-RC1
{code}
java.lang.IllegalArgumentException: Generation number must not be a negative
value
org.apache.pdfbox.cos.COSObjectKey.<init>(COSObjectKey.java:58)
org.apache.pdfbox.pdfparser.COSParser.parseXrefTable(COSParser.java:1747)
org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:331)
org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:230)
org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:127)
org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:180)
org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:154)
org.apache.pdfbox.Loader.loadPDF(Loader.java:346)
org.apache.pdfbox.Loader.loadPDF(Loader.java:319)
org.apache.pdfbox.Loader.loadPDF(Loader.java:261)
org.apache.pdfbox.debugger.PDFDebugger$3.open(PDFDebugger.java:1285)
org.apache.pdfbox.debugger.PDFDebugger$DocumentOpener.parse(PDFDebugger.java:1413)
org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1292)
org.apache.pdfbox.debugger.PDFDebugger.openMenuItemActionPerformed(PDFDebugger.java:735)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]