I'm not getting that exception...but I am getting another one that
points out a bug in the SST record.
-Andy
On Tue, 2002-03-26 at 07:52, Iouri Michtchenko wrote:
> Could anybody test this file?
> When I do :
>
> HSSFWorkbook wb = new HSSFWorkbook(new FileInputStream("test.xls"));
>
> It throws an exception:
>
> net.sourceforge.poi.hssf.record.RecordFormatException: Unable to construct
> record instance
> net.sourceforge.poi.hssf.record.Record[]
> net.sourceforge.poi.hssf.record.RecordFactory.createRecord(short, short,
> byte[]) (RecordFactory.java:271)
> java.util.List
> net.sourceforge.poi.hssf.record.RecordFactory.createRecords(java.io.InputStr
> eam) (RecordFactory.java:202)
> void
> net.sourceforge.poi.hssf.usermodel.HSSFWorkbook.<init>(net.sourceforge.poi.p
> oifs.filesystem.POIFSFileSystem) (HSSFWorkbook.java:156)
> void
> net.sourceforge.poi.hssf.usermodel.HSSFWorkbook.<init>(java.io.InputStream)
> (HSSFWorkbook.java:191)
>
> Thanks.
--
http://www.superlinksoftware.com
http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound
Document
format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html
- fix java generics!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh