org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long)

Stack Overflow | SuperYegorius | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java POI - can't access xls file on Win 2003 Server

    Stack Overflow | 8 months ago | SuperYegorius
    org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long)

    Root Cause Analysis

    1. org.apache.poi.EmptyFileException

      The supplied file was empty (zero bytes long)

      at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>()
    2. POI
      NPOIFSFileSystem.<init>
      1. org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:218)
      2. org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:168)
      2 frames
    3. Unknown
      Parser.<init>
      1. Parser.xlsToXml(Parser.java:43)
      2. Parser.<init>(Parser.java:28)
      2 frames