poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <acoli...@apache.org>
Subject Re: InvocationTargetException
Date Mon, 07 Apr 2003 17:15:13 GMT
It contains a formula we do not yet support.

Matías Salvador wrote:

>I'm trying to convert an Exel File and when creating the HSSFWorkbook, it
>throws me this exception:
>
>[WARNING] Unknown Ptg 29 (41)
>java.lang.reflect.InvocationTargetException
>        at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown
>Source)
>        at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
>torAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>        at
>org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:254
>)
>        at
>org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:19
>2)
>        at
>org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:187)
>        at
>org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:154)
>        at PoiReadWrite.main(PoiReadWrite.java:18)
>Caused by: java.lang.ArrayIndexOutOfBoundsException: 32
>        at org.apache.poi.util.LittleEndian.getNumber(LittleEndian.java:557)
>        at org.apache.poi.util.LittleEndian.getShort(LittleEndian.java:90)
>        at
>org.apache.poi.hssf.record.formula.NamePtg.<init>(NamePtg.java:100)
>        at org.apache.poi.hssf.record.formula.Ptg.createPtg(Ptg.java:251)
>        at
>org.apache.poi.hssf.record.NameRecord.getParsedExpressionTokens(NameRecord.j
>ava:653)
>        at
>org.apache.poi.hssf.record.NameRecord.fillFields(NameRecord.java:625)
>        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.NameRecord.<init>(NameRecord.java:121)
>        ... 8 more
>org.apache.poi.hssf.record.RecordFormatException: Unable to construct record
>instance, the following exception occured: null
>        at
>org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:267
>)
>        at
>org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:19
>2)
>        at
>org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:187)
>        at
>org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:154)
>        at PoiReadWrite.main(PoiReadWrite.java:18)
>
>Any Idea waht can be wrong? The XLS file exists.
>
>Thank You!
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>
>  
>




Mime
View raw message