Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Rendering, Text extraction
    • Labels:
      None

      Description

      Happens with file 998837.pdf. I can't attach it because it is too big, and each page has the resources of all pages so splitting doesn't help.

      Exception in thread "main" java.lang.NullPointerException
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.showTextStrings(PDFStreamEngine.java:581)
      	at org.apache.pdfbox.contentstream.operator.text.ShowTextAdjusted.process(ShowTextAdjusted.java:47)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:813)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:475)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:449)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)
      	at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:179)
      	at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208)
      	at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139)
      	at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94)
      	at org.apache.pdfbox.tools.PDFToImage.main(PDFToImage.java:236)
      	at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:94)
      

      The cause and the solution are similar to PDFBOX-2222: no current font set.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: