java.io.IOException: Error : ~bfchar contains an unexpected operator : endcmap

GitHub | lm-edi | 6 months 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

    GitHub comment 221#247391307

    GitHub | 6 months ago | lm-edi
    java.io.IOException: Error : ~bfchar contains an unexpected operator : endcmap
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Error : ~bfchar contains an unexpected operator : endcmap

      at org.apache.fontbox.cmap.CMapParser.parse()
    2. Apache FontBox
      CMapParser.parse
      1. org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:173)[fontbox-1.8.10.jar:1.8.10]
      1 frame
    3. Apache PDFBox
      PDFTextStripper.writeText
      1. org.apache.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:626)[pdfbox-1.8.10.jar:1.8.10]
      2. org.apache.pdfbox.pdmodel.font.PDSimpleFont.extractToUnicodeEncoding(PDSimpleFont.java:457)[pdfbox-1.8.10.jar:1.8.10]
      3. org.apache.pdfbox.pdmodel.font.PDSimpleFont.determineEncoding(PDSimpleFont.java:411)[pdfbox-1.8.10.jar:1.8.10]
      4. org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:214)[pdfbox-1.8.10.jar:1.8.10]
      5. org.apache.pdfbox.pdmodel.font.PDSimpleFont.<init>(PDSimpleFont.java:89)[pdfbox-1.8.10.jar:1.8.10]
      6. org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:67)[pdfbox-1.8.10.jar:1.8.10]
      7. org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:108)[pdfbox-1.8.10.jar:1.8.10]
      8. org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:213)[pdfbox-1.8.10.jar:1.8.10]
      9. org.apache.pdfbox.util.PDFStreamEngine.getFonts(PDFStreamEngine.java:607)[pdfbox-1.8.10.jar:1.8.10]
      10. org.apache.pdfbox.util.operator.SetTextFont.process(SetTextFont.java:59)[pdfbox-1.8.10.jar:1.8.10]
      11. org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:557)[pdfbox-1.8.10.jar:1.8.10]
      12. org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268)[pdfbox-1.8.10.jar:1.8.10]
      13. org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)[pdfbox-1.8.10.jar:1.8.10]
      14. org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)[pdfbox-1.8.10.jar:1.8.10]
      15. org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:458)[pdfbox-1.8.10.jar:1.8.10]
      16. org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:383)[pdfbox-1.8.10.jar:1.8.10]
      17. org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:342)[pdfbox-1.8.10.jar:1.8.10]
      17 frames
    4. Apache Tika parsers
      PDFParser.parse
      1. org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:141)[tika-parsers-1.10.jar:1.10]
      2. org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:148)[tika-parsers-1.10.jar:1.10]
      2 frames
    5. Apache Tika core
      Tika.parseToString
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)[tika-core-1.10.jar:1.10]
      2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)[tika-core-1.10.jar:1.10]
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)[tika-core-1.10.jar:1.10]
      4. org.apache.tika.Tika.parseToString(Tika.java:506)[tika-core-1.10.jar:1.10]
      4 frames
    6. fr.pilato.elasticsearch
      FsCrawlerImpl$FSParser.run
      1. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.indexFile(FsCrawlerImpl.java:498)[fscrawler-2.0.0.jar:?]
      2. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.addFilesRecursively(FsCrawlerImpl.java:308)[fscrawler-2.0.0.jar:?]
      3. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.addFilesRecursively(FsCrawlerImpl.java:319)[fscrawler-2.0.0.jar:?]
      4. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.run(FsCrawlerImpl.java:216)[fscrawler-2.0.0.jar:?]
      4 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_92]
      1 frame