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

ClassCastException in CMapParser.parseBeginbfchar

    XMLWordPrintableJSON

Details

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

    Description

      "commoncrawl/CC-MAIN-2021-31/d6/11/d611396e2fd1f45d216dcdfee45ed22d4bd452c75a00b5d3d8ba36a4efdc7524",1,False,"1593","java.lang.ClassCastException: java.lang.Integer incompatible with [B
      	at org.apache.fontbox.cmap.CMapParser.parseBeginbfchar(CMapParser.java:300)
      	at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:151)
      	at org.apache.pdfbox.pdmodel.font.CMapManager.parseCMap(CMapManager.java:74)
      	at org.apache.pdfbox.pdmodel.font.PDFont.readCMap(PDFont.java:214)
      	at org.apache.pdfbox.pdmodel.font.PDFont.loadUnicodeCmap(PDFont.java:147)
      	at org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:115)
      	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.<init>(PDSimpleFont.java:74)
      	at org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:77)
      	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.con","2644",True
      

      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: