java.io.IOException: Error: expected the end of a dictionary.

pdfbox-dev | Jukka Zitting (JIRA) | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [jira] Commented: (PDFBOX-267) CMap parse fails during text extract

    pdfbox-dev | 9 years ago | Jukka Zitting (JIRA)
    java.io.IOException: Error: expected the end of a dictionary.
  2. 0

    CMap parse fails during text extract

    pdfbox | 1 decade ago | matthillsdon
    java.io.IOException: Error: expected the end of a dictionary.

    Root Cause Analysis

    1. java.io.IOException

      Error: expected the end of a dictionary.

      at org.fontbox.cmap.CMapParser.parseNextToken()
    2. FontBox - Java Font Library
      CMapParser.parse
      1. org.fontbox.cmap.CMapParser.parseNextToken(CMapParser.java:220)
      2. org.fontbox.cmap.CMapParser.parse(CMapParser.java:79)
      2 frames
    3. PDFBox - Java PDF Library
      PDFTextStripper.getText
      1. org.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:535)
      2. org.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:387)
      3. org.pdfbox.util.PDFStreamEngine.showString(PDFStreamEngine.java:325)
      4. org.pdfbox.util.operator.ShowText.process(ShowText.java:64)
      5. org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452)
      6. org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
      7. org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
      8. org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336)
      9. org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259)
      10. org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216)
      11. org.pdfbox.util.PDFTextStripper.getText(PDFTextStripper.java:149)
      11 frames