You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Luis Filipe Nassif (JIRA)" <ji...@apache.org> on 2016/07/18 18:35:20 UTC
[jira] [Commented] (PDFBOX-3425) IOException: Number 'ªªªªªªªªªªªªªªªªªªªª' is getting too long, stop reading at offset 1199435
[ https://issues.apache.org/jira/browse/PDFBOX-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382802#comment-15382802 ]
Luis Filipe Nassif commented on PDFBOX-3425:
--------------------------------------------
The file is opened by Chrome and icepdf
> IOException: Number 'ªªªªªªªªªªªªªªªªªªªª' is getting too long, stop reading at offset 1199435
> ----------------------------------------------------------------------------------------------
>
> Key: PDFBOX-3425
> URL: https://issues.apache.org/jira/browse/PDFBOX-3425
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.2
> Environment: Win7, jdk1.8.0_60 x64
> Reporter: Luis Filipe Nassif
>
> The following stacktrace is shown with ExtractText and PDFReader when opening a file previously parsed by 1.8.10. Unfortunately the file can not be shared.
> {code}
> java.lang.RuntimeException: java.io.IOException: Number 'ªªªªªªªªªªªªªªªªªªªª' is getting too long, stop reading at offset 1199435
> org.apache.pdfbox.debugger.PDFDebugger.openMenuItemActionPerformed(PDFDebugger.java:593)
> org.apache.pdfbox.debugger.PDFDebugger.access$400(PDFDebugger.java:113)
> org.apache.pdfbox.debugger.PDFDebugger$4.actionPerformed(PDFDebugger.java:312)
> java.security.AccessController.doPrivileged(Native Method)
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
> java.security.AccessController.doPrivileged(Native Method)
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
> Caused by: java.io.IOException: Number 'ªªªªªªªªªªªªªªªªªªªª' is getting too long, stop reading at offset 1199435
> org.apache.pdfbox.pdfparser.BaseParser.readStringNumber(BaseParser.java:1379)
> org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1341)
> org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1278)
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:739)
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:721)
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:652)
> org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:612)
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:215)
> org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:249)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:840)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:780)
> org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1243)
> org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1165)
> org.apache.pdfbox.debugger.PDFDebugger.openMenuItemActionPerformed(PDFDebugger.java:587)
> org.apache.pdfbox.debugger.PDFDebugger.access$400(PDFDebugger.java:113)
> org.apache.pdfbox.debugger.PDFDebugger$4.actionPerformed(PDFDebugger.java:312)
> java.security.AccessController.doPrivileged(Native Method)
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
> java.security.AccessController.doPrivileged(Native Method)
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org