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

coderanch.com | 9 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

    Sevlet: FileUpload (Apache Commons) and Java POI IOException: Unable to read entire header

    Coderanch | 5 years ago | Luis Villamarin
    java.io.IOException: Unable to read entire header; 13 bytes read; expected 512 bytes
  2. 0

    Java POI - Error: Unable to read entire header

    Stack Overflow | 4 years ago | shanks_roux
    java.io.IOException: Unable to read entire header; 162 bytes read; expected 512 bytes
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

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

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

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

    sourceforge.net | 9 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; 13 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. eBooks.controller
      ReportServlet.doPost
      1. eBooks.controller.ReportServlet.processRequest(ReportServlet.java:54)
      2. eBooks.controller.ReportServlet.doPost(ReportServlet.java:161)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
      2 frames
    5. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      7. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      8 frames
    6. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      2 frames
    7. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame