You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/04/24 10:44:00 UTC

[jira] [Closed] (PDFBOX-4206) Number XXX is getting too long, stop reading at offset YY

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

Tilman Hausherr closed PDFBOX-4206.
-----------------------------------
    Resolution: Not A Bug

> Number XXX is getting too long, stop reading at offset YY
> ---------------------------------------------------------
>
>                 Key: PDFBOX-4206
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4206
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, Preflight
>    Affects Versions: 2.0.9
>         Environment: Windows 10
>            Reporter: Luca Pino
>            Priority: Major
>         Attachments: norma.pdf, playright.pdf, spedidam.pdf
>
>
> Parsing PDFs fails:
> {code:java}
> java.io.IOException: Number 'p*�	��Q�B' is getting too long, stop reading at offset 219498
> at org.apache.pdfbox.pdfparser.BaseParser.readStringNumber(BaseParser.java:1413)
> at org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1375)
> at org.apache.pdfbox.pdfparser.BaseParser.readObjectNumber(BaseParser.java:1312)
> at org.apache.pdfbox.pdfparser.COSParser.parseXrefObjStream(COSParser.java:330)
> at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:291)
> at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:197)
> at org.apache.pdfbox.preflight.parser.PreflightParser.initialParse(PreflightParser.java:310)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:276)
> at org.apache.pdfbox.preflight.parser.PreflightParser.parse(PreflightParser.java:252)
> ... 30 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org