[ https://issues.apache.org/jira/browse/PDFBOX-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801887#comment-16801887 ]
Jorge Spinsanti commented on PDFBOX-4495: ----------------------------------------- Are you talking about an issue in PDFBox or corrupt document? Because the document is open with Chrome or DocumentViewer (Ubuntu) and I can see the content without problems. > Expected number, actual=COSFloat > -------------------------------- > > Key: PDFBOX-4495 > URL: https://issues.apache.org/jira/browse/PDFBOX-4495 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Reporter: Jorge Spinsanti > Priority: Major > > I got an exception to extract text from pdf using Tika. I can't attach a file > to reproduce due to confidentiality. > {code:java} > java.io.IOException: expected number, actual=COSFloat{18446744071795507394} > at offset 9277 at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:166) > at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:279) > at > org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:212) > at > org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:864) at > org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:904) at > org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:873) > at > org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:793) > at > org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:753) at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:187) at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:226) at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1200) at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1173) at > org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:154) at > org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280){code} > Related: https://issues.apache.org/jira/browse/TIKA-2842 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org