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


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