java.io.IOException: loca is mandatory

GitHub | lm-edi | 5 months ago
  1. 0
    Download the winutils.exe for your Hadoop version: https://github.com/steveloughran/winutils . Save it to HADOOP_HOME/bin
  2. 0
    Check for bad records in the input data (like '(null)')
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    Bad input data (not properly separated)
  5. 0
    If you are using maven you'd like to exclude your binaries from filtering process.

    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

      loca is mandatory

      at org.apache.fontbox.ttf.TTFParser.parseTables()
    2. Apache FontBox
      TTFParser.parse
      1. org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:206)[fontbox-2.0.1.jar:2.0.1]
      2. org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:150)[fontbox-2.0.1.jar:2.0.1]
      3. org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106)[fontbox-2.0.1.jar:2.0.1]
      3 frames
    3. Apache PDFBox
      PDResources.getFont
      1. org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:111)[pdfbox-2.0.1.jar:2.0.1]
      2. org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:70)[pdfbox-2.0.1.jar:2.0.1]
      3. org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:125)[pdfbox-2.0.1.jar:2.0.1]
      4. org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:128)[pdfbox-2.0.1.jar:2.0.1]
      5. org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)[pdfbox-2.0.1.jar:2.0.1]
      6. org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:123)[pdfbox-2.0.1.jar:2.0.1]
      6 frames
    4. org.apache.pdfbox
      PDFTextStripper.processPage
      1. org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)[pdfbox-2.0.1.jar:2.0.1]
      2. org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)[pdfbox-2.0.1.jar:2.0.1]
      3. org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)[pdfbox-2.0.1.jar:2.0.1]
      4. org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)[pdfbox-2.0.1.jar:2.0.1]
      5. org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)[pdfbox-2.0.1.jar:2.0.1]
      6. org.apache.pdfbox.text.PDFTextStreamEngine.processPage(PDFTextStreamEngine.java:136)[pdfbox-2.0.1.jar:2.0.1]
      7. org.apache.pdfbox.text.PDFTextStripper.processPage(PDFTextStripper.java:391)[pdfbox-2.0.1.jar:2.0.1]
      7 frames
    5. Apache Tika parsers
      PDF2XHTML.processPage
      1. org.apache.tika.parser.pdf.PDF2XHTML.processPage(PDF2XHTML.java:214)[tika-parsers-1.13.jar:1.13]
      1 frame
    6. org.apache.pdfbox
      PDFTextStripper.writeText
      1. org.apache.pdfbox.text.PDFTextStripper.processPages(PDFTextStripper.java:319)[pdfbox-2.0.1.jar:2.0.1]
      2. org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:266)[pdfbox-2.0.1.jar:2.0.1]
      2 frames
    7. Apache Tika parsers
      PDFParser.parse
      1. org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:160)[tika-parsers-1.13.jar:1.13]
      2. org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:144)[tika-parsers-1.13.jar:1.13]
      2 frames
    8. Apache Tika core
      Tika.parseToString
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)[tika-core-1.13.jar:1.13]
      2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)[tika-core-1.13.jar:1.13]
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)[tika-core-1.13.jar:1.13]
      4. org.apache.tika.Tika.parseToString(Tika.java:568)[tika-core-1.13.jar:1.13]
      4 frames
    9. fr.pilato.elasticsearch
      FsCrawlerImpl$FSParser.run
      1. fr.pilato.elasticsearch.crawler.fs.tika.TikaDocParser.generate(TikaDocParser.java:77)[fscrawler-2.1.jar:?]
      2. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.indexFile(FsCrawlerImpl.java:608)[fscrawler-2.1.jar:?]
      3. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.addFilesRecursively(FsCrawlerImpl.java:396)[fscrawler-2.1.jar:?]
      4. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.addFilesRecursively(FsCrawlerImpl.java:406)[fscrawler-2.1.jar:?]
      5. fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl$FSParser.run(FsCrawlerImpl.java:298)[fscrawler-2.1.jar:?]
      5 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
      1 frame