HSSF is crashing trying to read some of my Excel spreadsheets.  This is with 
jakarta-poi-1.5.1-final-20020615.jar.  I have downloaded the source and I am prepared 
to work on fixing the problem myself.   I have recompiled the module in question to 
add debugging code so I can see what is different about the spreadsheets that crash.  
However neither jar nor WinZip can add the class file into the existing jar.

Any pointers would be appreciated.


java.lang.reflect.InvocationTargetException:
java.lang.StringIndexOutOfBoundsException: String index out of range: 3
 at java.lang.String.<init>(String.java:366)
 at java.lang.String.<init>(String.java:447)
 at
org.apache.poi.hssf.record.HeaderRecord.fillFields(HeaderRecord.java:121)
 at org.apache.poi.hssf.record.Record.fillFields(Record.java:142)
 at org.apache.poi.hssf.record.Record.<init>(Record.java:104)
 at org.apache.poi.hssf.record.HeaderRecord.<init>(HeaderRecord.java:91)
 at java.lang.reflect.Constructor.newInstance(Native Method)
 at
org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:246
 at
org.apache.poi.hssf.eventmodel.HSSFEventFactory.processEvents(HSSFEventFacto
ry.java:141)



Jim Cobban   [EMAIL PROTECTED]
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438

Reply via email to