I have a program that was working great with I think with POI 2.5.
Right after upgrading to poi-3.1-FINAL-20080629, I get an
IllegalStateException: "Cannot create value records before row records
exist" when executing the following lines:

 

POIFSFileSystem tmpFs = new POIFSFileSystem(new
FileInputStream(masterPath)); // masterPath is a String

HSSFWorkbook tmpWb = new HSSFWorkbook(tmpFs);

 

I found the following which I guess may or may not be related to this
problem. 

 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00622.html

https://issues.apache.org/bugzilla/show_bug.cgi?id=45145

 

 

In the bug report it says "Re-serializing a workbook fixes the incorrect
INDEX record."  How does one go about "Re-serializing" a workbook? Any
ideas on other possible workarounds?
 
Many thanks for any input.

 

Paul

Reply via email to