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

NullPointerException in CFFParser.parseFont()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.26
    • 2.0.27, 3.0.0 PDFBox
    • FontBox
    • None

    Description

      "commoncrawl/CC-MAIN-2021-31/d9/d9/d9d93dc94f2ec53307340ea7cdf7acc399ceab068d49df047bc3156aae9fc970",1,False,"2562","java.lang.NullPointerException
      	at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:517)
      	at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:122)
      	at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:75)
      	at org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:103)
      	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:74)
      	at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:146)
      	at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:66)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:966)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:541)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:516)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155)
      	at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: