DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14330>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14330 Error reading FormulaRecord Summary: Error reading FormulaRecord Product: POI Version: unspecified Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: HSSF AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This seems similar to Bug 13796. The same workbook causes a similar, but different, error in the usermodel.examples.EventExample class (recompiled, unchanged, into my own package for simplicity). Namely: java.lang.reflect.InvocationTargetException: java.lang.StringIndexOutOfBoundsExc eption: String index out of range: 45 at java.lang.String.<init>(Unknown Source) at java.lang.String.<init>(Unknown Source) at org.apache.poi.hssf.record.formula.StringPtg.<init>(StringPtg.java:82 ) at org.apache.poi.hssf.record.formula.Ptg.createPtg(Ptg.java:244) at org.apache.poi.hssf.record.FormulaRecord.getParsedExpressionTokens(Fo rmulaRecord.java:171) at org.apache.poi.hssf.record.FormulaRecord.fillFields(FormulaRecord.jav a:147) at org.apache.poi.hssf.record.Record.fillFields(Record.java:143) at org.apache.poi.hssf.record.Record.<init>(Record.java:105) at org.apache.poi.hssf.record.FormulaRecord.<init>(FormulaRecord.java:11 8) at java.lang.reflect.Constructor.newInstance(Native Method) at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.j ava:252) at org.apache.poi.hssf.eventmodel.HSSFEventFactory.genericProcessEvents( HSSFEventFactory.java:221) at org.apache.poi.hssf.eventmodel.HSSFEventFactory.processEvents(HSSFEve ntFactory.java:139) at omvuk.util.EventExample.main(EventExample.java:93) Exception in thread "main" org.apache.poi.hssf.record.RecordFormatException: Una ble to construct record instance, the following exception occured: null at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.j ava:265) at org.apache.poi.hssf.eventmodel.HSSFEventFactory.genericProcessEvents( HSSFEventFactory.java:221) at org.apache.poi.hssf.eventmodel.HSSFEventFactory.processEvents(HSSFEve ntFactory.java:139) at omvuk.util.EventExample.main(EventExample.java:93) -- To unsubscribe, e-mail: <mailto:poi-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:poi-dev-help@;jakarta.apache.org>
