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

Thomas Fischer updated PDFBOX-757:
----------------------------------

    Attachment: ZR-02-05.pdf
                ZR-02-25.txt
                ZR-02-05-PDFKit.txt

ZR-02-05.txt is the file translated with PDFBox, ZR-02-05-PDFKit.txt is the 
same PDF file translated using Apple's PDF Kit.

> Translation to text of some TeX-created files breaks down shortly after start
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-757
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-757
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.2.0
>            Reporter: Thomas Fischer
>         Attachments: ZR-02-05-PDFKit.txt, ZR-02-05.pdf, ZR-02-25.txt
>
>
> After a short start, translation to text breaks with the error message:
> Exception in thread "main" java.lang.NullPointerException
>       at 
> org.apache.pdfbox.pdmodel.common.COSStreamArray.getScratchFile(COSStreamArray.java:100)
>       at 
> org.apache.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:87)
>       at 
> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:238)
>       at 
> org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:208)
>       at 
> org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:367)
>       at 
> org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:291)
>       at 
> org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:247)
>       at org.apache.pdfbox.ExtractText.main(ExtractText.java:236)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to