[ https://issues.apache.org/jira/browse/PDFBOX-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-5452: --------------------------------------- Labels: regression (was: ) > java.io.IOException: Number '18446744073709486079' is getting too long, stop > reading at offset 9454 > --------------------------------------------------------------------------------------------------- > > Key: PDFBOX-5452 > URL: https://issues.apache.org/jira/browse/PDFBOX-5452 > 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 > Attachments: GHOSTSCRIPT-695040-0.zip-73.pdf > > > The rendering of the attached file fails using 3.0.0-alpha3. It works with > 3.0.0-alpha2 > {code} > java.lang.RuntimeException: java.io.IOException: Number > '18446744073709486079' is getting too long, stop reading at offset 9454 > > org.apache.pdfbox.debugger.PDFDebugger$5.actionPerformed(PDFDebugger.java:1455) > java.base/java.security.AccessController.doPrivileged(Native Method) > > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) > java.base/java.security.AccessController.doPrivileged(Native Method) > > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > Caused by: java.io.IOException: Number '18446744073709486079' is getting too > long, stop reading at offset 9454 > > org.apache.pdfbox.pdfparser.BaseParser.readStringNumber(BaseParser.java:1314) > org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1282) > > org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1217) > > org.apache.pdfbox.pdfparser.BruteForceParser.bfSearchForObjects(BruteForceParser.java:149) > > org.apache.pdfbox.pdfparser.BruteForceParser.<init>(BruteForceParser.java:89) > > org.apache.pdfbox.pdfparser.COSParser.getBruteForceParser(COSParser.java:1333) > org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:254) > 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:344) > org.apache.pdfbox.Loader.loadPDF(Loader.java:317) > org.apache.pdfbox.Loader.loadPDF(Loader.java:260) > 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.readPDFFile(PDFDebugger.java:1261) > org.apache.pdfbox.debugger.PDFDebugger.access$400(PDFDebugger.java:151) > > org.apache.pdfbox.debugger.PDFDebugger$5.actionPerformed(PDFDebugger.java:1451) > java.base/java.security.AccessController.doPrivileged(Native Method) > > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) > java.base/java.security.AccessController.doPrivileged(Native Method) > > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org