First answer - Yes, I am using 3.6 from 15 December 2009 Second answer - Yes, I can open the file in Excel, then save it as another file and POI reads it correctly.
The file was not originally written by Microsoft Excel, so I would assume this is the problem. Unfortunately, I do not have the ability to change how the file is created. Is there any automatic/programmatic approach to "fixing" the file by opening it in Excel and saving it? On Fri, Feb 19, 2010 at 11:08 AM, Nick Burch <[email protected]> wrote: > On Fri, 19 Feb 2010, William Lindner, III wrote: >> >> I have an excel file that I can open in Excel, but when I attempt to >> open as an input stream and read as a new >> POIFSFileSystem(inputStream), I get the stack trace: > > First question - have you tried with the latest poi? > > Second question - if you load it in excel, save it as another file, can poi > open it? > > That exception is normally caused by a corrupt file, or a file written by > something other than excel where they didn't quite read the spec properly > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
