java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes

sourceforge.net | 5 months ago
  1. 0

    OpenSearchServer Search Engine / Bug Report / #188 Too many opened files

    sourceforge.net | 11 months ago
    java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes
  2. 0

    PDF Parser with OCR

    opensearchserve | 4 years ago | julien122
    java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes
  3. 0

    Also when saving from LE (in fact updating the file) 17:37:50,776 INFO [CompassBackendSession] Saving all queued resources. size=1 17:37:50,891 ERROR [AbstractTransformer] An error occured while trying to perform a transformation chain. java.io.IOException: Invalid header signature; read 7311066695147732796, expected -2226271756974174256 at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:91) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:83) at org.apache.poi.hwpf.HWPFDocument.verifyAndBuildPOIFS(HWPFDocument.java:119) at org.apache.poi.hwpf.extractor.WordExtractor.<init>(WordExtractor.java:32) at org.nuxeo.ecm.platform.transform.plugin.poi.WordToTextPlugin.transform(WordToTextPlugin.java:71) at org.nuxeo.ecm.platform.transform.transformer.AbstractTransformer.transform(AbstractTransformer.java:174) at org.nuxeo.ecm.platform.transform.service.TransformService.transform(TransformService.java:157) at org.nuxeo.ecm.platform.transform.service.TransformService.transform(TransformService.java:174) at org.nuxeo.ecm.core.search.blobs.NXTransformBlobExtractor.extract(NXTransformBlobExtractor.java:84) at org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory.ResolvedResourcesFactory.blobToText(ResolvedResourcesFactory.java:267) at org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory.ResolvedResourcesFactory.convertForFullText(ResolvedResourcesFactory.java:233) at org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory.ResolvedResourcesFactory.extractForFullText(ResolvedResourcesFactory.java:170) at org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory.ResolvedResourcesFactory.computeFulltext(ResolvedResourcesFactory.java:120) at org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory.ResolvedResourcesFactory.computeAggregatedResolvedResourcesFrom(ResolvedResourcesFactory.java:289) at org.nuxeo.ecm.core.search.service.SearchServiceImpl.index(SearchServiceImpl.java:263) at org.nuxeo.ecm.core.search.threading.IndexingTask.run(IndexingTask.java:72) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)

    JIRA | 9 years ago | Dragos Mihalache
    java.io.IOException: Invalid header signature; read 7311066695147732796, expected -2226271756974174256
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java POI - Error: Unable to read entire header

    Stack Overflow | 3 years ago | shanks_roux
    java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes
  6. 0

    OpenSearchServer Search Engine / Bug Report / #188 Too many opened files

    sourceforge.net | 5 months ago
    java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes

    2 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

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

      at org.apache.poi.poifs.storage.HeaderBlock.alertShortRead()
    2. POI
      POIFSFileSystem.<init>
      1. org.apache.poi.poifs.storage.HeaderBlock.alertShortRead(HeaderBlock.java:226)
      2. org.apache.poi.poifs.storage.HeaderBlock.readFirst512(HeaderBlock.java:207)
      3. org.apache.poi.poifs.storage.HeaderBlock.<init>(HeaderBlock.java:104)
      4. org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:138)
      4 frames
    3. Apache POI
      WordExtractor.<init>
      1. org.apache.poi.hwpf.HWPFDocumentCore.verifyAndBuildPOIFS(HWPFDocumentCore.java:106)
      2. org.apache.poi.hwpf.extractor.WordExtractor.<init>(WordExtractor.java:53)
      2 frames
    4. com.jaeksoft.searchlib
      ThreadAbstract.run
      1. com.jaeksoft.searchlib.parser.DocParser.currentWordExtraction(DocParser.java:61)
      2. com.jaeksoft.searchlib.parser.DocParser.parseContent(DocParser.java:102)
      3. com.jaeksoft.searchlib.parser.Parser.doParserContent(Parser.java:105)
      4. com.jaeksoft.searchlib.parser.ParserSelector.parserLoop(ParserSelector.java:390)
      5. com.jaeksoft.searchlib.parser.ParserSelector.parseFileInstance(ParserSelector.java:452)
      6. com.jaeksoft.searchlib.crawler.file.spider.CrawlFile.download(CrawlFile.java:95)
      7. com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.crawl(CrawlFileThread.java:135)
      8. com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.runner(CrawlFileThread.java:110)
      9. com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:261)
      9 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:679)
      3 frames