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

Stack Overflow | Sameek Mishra | 4 years 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

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

    Stack Overflow | 4 years ago | Sameek Mishra
    java.io.IOException: Unable to read entire header; 0 bytes read; expected 512 bytes
  2. 0

    Can we refresh the directory from middle of java code (Java in General forum at JavaRanch)

    coderanch.com | 2 years ago
    java.io.IOException: Unable to read entire header; 0 bytes read; expected 512 bytes
  3. 0

    POI - User - Write Image into Excel Header or Footer

    nabble.com | 1 year ago
    java.io.IOException: Unable to read entire header; 0 bytes read; expected 512 bytes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can we refresh the directory from middle of java code

    Coderanch | 5 years ago | s lekkala
    java.io.IOException: Unable to read entire header; 0 bytes read; expected 512 bytes
  6. 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

    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; 0 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