You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2022/06/11 10:11:00 UTC

[jira] [Updated] (PDFBOX-5456) java.lang.IllegalArgumentException: Generation number must not be a negative value

     [ https://issues.apache.org/jira/browse/PDFBOX-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-5456:
---------------------------------------
    Labels: regression  (was: )

> 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
>            Priority: Major
>              Labels: regression
>             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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org