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

No such Element Exception processing File

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.11, 2.0.0
    • 1.8.12, 2.0.0
    • FontBox

    Description

      java.util.NoSuchElementException
      at java.util.HashMap$HashIterator.nextNode(HashMap.java:1431)
      at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
      at java.util.Collections.max(Collections.java:669)
      at org.apache.fontbox.ttf.CmapSubtable.processSubtype6(CmapSubtable.java:354)
      at org.apache.fontbox.ttf.CmapSubtable.initSubtable(CmapSubtable.java:98)
      at org.apache.fontbox.ttf.CmapTable.read(CmapTable.java:84)
      at org.apache.fontbox.ttf.TrueTypeFont.readTable(TrueTypeFont.java:377)
      at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:174)
      at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:150)
      at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106)
      at org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:110)
      at org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:69)
      at org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:125)
      at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:128)
      at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)
      at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:123)
      at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)
      at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:187)
      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.renderImage(PDFRenderer.java:68)
      at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:55)

      Attachments

        1. MK-0011840_KTa_160116-001.pdf
          47 kB
          Stefan Schmaltz

        Activity

          People

            lehmi Andreas Lehmkühler
            schlocke Stefan Schmaltz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: