Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      Trying to run ExtractText on the attached PDF will result in a lot of the following Exceptions:

      Jun 24, 2011 11:44:54 AM org.apache.pdfbox.util.PDFStreamEngine processOperator
      WARNING: java.lang.NullPointerException
      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.font.PDFont.getFontWidth(PDFont.java:787)
      at org.apache.pdfbox.pdmodel.font.PDSimpleFont.getFontWidth(PDSimpleFont.java:1
      at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.ja
      at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:45)
      at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java
      at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java
      at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:22
      at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:442)
      at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:366
      at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:322)
      at org.apache.pdfbox.ExtractText.startExtraction(ExtractText.java:256)
      at org.apache.pdfbox.ExtractText.main(ExtractText.java:76)

        Attachments

        1. 48022.pdf
          1.45 MB
          Henning Saul

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              henningsaul Henning Saul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: