[ 
https://issues.apache.org/jira/browse/PDFBOX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064307#comment-15064307
 ] 

Tim Allison commented on PDFBOX-3058:
-------------------------------------

I doubt there is an easy work around for this type of corruption, but it looks 
like there are ~20 of these (a tiny, tiny percentage of ~300k files!):

{noformat}
java.io.IOException: java.lang.NumberFormatException: For input string: 
"0000001.06"
        at 
org.apache.pdfbox.pdfparser.COSParser.parseXrefTable(COSParser.java:1960)
        at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:223)
        at 
org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:189)
        at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:246)
        at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:837)
        at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:777)
        at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:124)
{noformat}

> Support TIKA Migration to PDFBox 2.0
> ------------------------------------
>
>                 Key: PDFBOX-3058
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3058
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Maruan Sahyoun
>         Attachments: NZAZKTQYKDD2HSBCSJJN6XSEA4KJEONU_1_8_10.json, 
> NZAZKTQYKDD2HSBCSJJN6XSEA4KJEONU_2_0.json, content_diffs-1.8-to-2.0.xlsx, 
> textLostFromACausedByNewExceptionsInB.zip
>
>
> This issue is to track fixing issues which came up as part of TIKA-1285 
> (Upgrade to PDFBox 2.0.0 when available) mainly
> - new exceptions compared to PDFBox 1.8.x
> - regressions in text extraction
> - lower quality text extraction
> There should be individual issues to track tasks/bugs arising from that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to