java.io.IOException

Unable to read entire header; 162 bytes read; expected 512 bytes

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11548

  • via opensearchserve by julien122
    , 1 year ago
    Unable to read entire header; 162 bytes read; expected 512 bytes
  • Unable to read entire header; 162 bytes read; expected 512 bytes
  • via sourceforge.net by Unknown author, 1 year ago
    Unable to read entire header; 162 bytes read; expected 512 bytes
  • Stack trace

    • java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes at org.apache.poi.poifs.storage.HeaderBlock.alertShortRead(HeaderBlock.java:226) at org.apache.poi.poifs.storage.HeaderBlock.readFirst512(HeaderBlock.java:207) at org.apache.poi.poifs.storage.HeaderBlock.<init>(HeaderBlock.java:104) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:138) at org.apache.poi.hwpf.HWPFDocumentCore.verifyAndBuildPOIFS(HWPFDocumentCore.java:106) at org.apache.poi.hwpf.extractor.WordExtractor.<init>(WordExtractor.java:53) at com.jaeksoft.searchlib.parser.DocParser.currentWordExtraction(DocParser.java:61) at com.jaeksoft.searchlib.parser.DocParser.parseContent(DocParser.java:102) at com.jaeksoft.searchlib.parser.Parser.doParserContent(Parser.java:105) at com.jaeksoft.searchlib.parser.ParserSelector.parserLoop(ParserSelector.java:390) at com.jaeksoft.searchlib.parser.ParserSelector.parseFileInstance(ParserSelector.java:452) at com.jaeksoft.searchlib.crawler.file.spider.CrawlFile.download(CrawlFile.java:95) at com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.crawl(CrawlFileThread.java:135) at com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.runner(CrawlFileThread.java:110) at com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:261) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    5 times, 1 year ago