pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (PDFBOX-3591) IOException "expected number, actual=COSFloat{1.0}" on a valid PDF
Date Sat, 08 Dec 2018 06:25:00 GMT

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

Tilman Hausherr closed PDFBOX-3591.
-----------------------------------
    Resolution: Won't Fix

> IOException "expected number, actual=COSFloat{1.0}" on a valid PDF
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-3591
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3591
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.3
>         Environment: Windows 7 x64, JVM 1.8.0_101
>            Reporter: Seva Alekseyev
>            Priority: Major
>         Attachments: Vagueness and the Rule of Law- Reconsidering Installment Land Con.pdf
>
>
> On the attached PDF document, which opens fine with Adobe Reader, the PDDocument.load()
method throws the following:
> java.io.IOException: expected number, actual=COSFloat{1.0} at offset 577113
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue:162
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair:274
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary:207
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject:854
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue:150
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair:274
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary:207
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject:854
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue:150
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair:274
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary:207
> 	at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject:854
> 	at org.apache.pdfbox.pdfparser.COSParser.parseFileObject:757
> 	at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically:726
> 	at org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically:657
> 	at org.apache.pdfbox.pdfparser.COSParser.parseDictObjects:617
> 	at org.apache.pdfbox.pdfparser.PDFParser.initialParse:215
> 	at org.apache.pdfbox.pdfparser.PDFParser.parse:249
> 	at org.apache.pdfbox.pdmodel.PDDocument.load:891
> 	at org.apache.pdfbox.pdmodel.PDDocument.load:831
> 	at org.apache.tika.parser.pdf.PDFParser.parse:129



--
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


Mime
View raw message