[ https://issues.apache.org/jira/browse/PDFBOX-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255244#comment-17255244 ]
Tilman Hausherr commented on PDFBOX-5059: ----------------------------------------- Please retry with the current version, which is 2.0.22. Your version is four years old. Might be related to PDFBOX-4495. > java.io.IOException: expected number, actual=COSFloat{18446744073521659909} > at offset 4932600 > --------------------------------------------------------------------------------------------- > > Key: PDFBOX-5059 > URL: https://issues.apache.org/jira/browse/PDFBOX-5059 > Project: PDFBox > Issue Type: Bug > Affects Versions: 2.0.3 > Environment: linux > Reporter: Ling Hock Hin, Daniel > Priority: Major > > Encountered this error while trying to upload pdf. Seems to apply only for > certain pdfs. Can't share more due to confidentiality. > > java.io.IOException: expected number, actual=COSFloat\{18446744073521659909} > at offset 4932600java.io.IOException: expected number, > actual=COSFloat\{18446744073521659909} at offset 4932600 at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:162) > at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:274) > at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:207) > at > org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:854) at > org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757) at > org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726) > at > org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657) > at > org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:617) at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:215) at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:249) at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1093) at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1071) at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1053) at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1038) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org