Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2573

IllegalStateException: PDFBox bug: encoding should not be null!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • FontBox
    • None

    Description

      This seems to be a follow-up of PDFBOX-2489 (some of the files that had the old bug are now ok, but not this one):

      Exception in thread "main" java.lang.IllegalStateException: PDFBox bug: encoding should not be null!
      	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.isFontSymbolic(PDSimpleFont.java:205)
      	at org.apache.pdfbox.pdmodel.font.PDFont.isSymbolic(PDFont.java:440)
      	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.readEncoding(PDSimpleFont.java:111)
      	at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:228)
      	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:65)
      

      Attachments

        1. preflight.png
          15 kB
          John Hewson
        2. PDFBOX-2573-865252-p4.pdf
          65 kB
          Tilman Hausherr

        Activity

          People

            jahewson John Hewson
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: