poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrš Petr (EXT) <PAn...@csas.cz>
Subject RE: Strange error
Date Wed, 16 Feb 2005 15:21:34 GMT
Hi Karl-Heinz.

Yes, they contain lists (if those combo boxes at top of sheet used to filter rows are meant
by "list").

Thanks,
Petr

> -----Original Message-----
> From: KHZ (SAW) [mailto:karl-heinz.zengerle@sawag.com]
> Sent: Wednesday, February 16, 2005 4:14 PM
> To: 'POI Users List'
> Subject: AW: Strange error
> 
> 
> Hi Petr.
> 
> Does your file contain special elements, e.g. lists?
> 
> Regards,	Karl-Heinz.
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Andrš Petr (EXT) [mailto:PAndrs@csas.cz] 
> Gesendet: Mittwoch, 16. Februar 2005 16:11
> An: poi-user@jakarta.apache.org
> Betreff: Strange error
> 
> Hi,
> 
> I am obtaining this strange error when trying to open some Excel files
> with POI 2.5.1 but some others are processed fine. Any ideas what is
> wrong?
> 
> Thanks,
> Petr
> 
> java.lang.reflect.InvocationTargetException:
> java.lang.ArrayIndexOutOfBoundsException
>         at java.lang.System.arraycopy(Native Method)
>         at
> org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62)
>         at
> org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord
> .java:57)
>         at
> org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
>         at 
> org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
>         at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
>         at
> org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:61)
>         at java.lang.reflect.Constructor.newInstance(Native Method)
>         at
> org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFa
> ctory.java
> :224)
>         at
> org.apache.poi.hssf.record.RecordFactory.createRecords(RecordF
> actory.jav
> a:160)
>         at
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook
> .java:163)
>         at
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook
> .java:130)
>         at test.ExcelParser.parse(ExcelParser.java:31)
>         at test.Test3.main(Test3.java:18)
> Exception in thread "main"
> org.apache.poi.hssf.record.RecordFormatException: Unable to construct
> record instance, the following exception occur
> ed: null
>         at
> org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFa
> ctory.java
> :237)
>         at
> org.apache.poi.hssf.record.RecordFactory.createRecords(RecordF
> actory.jav
> a:160)
>         at
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook
> .java:163)
>         at
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook
> .java:130)
>         at test.ExcelParser.parse(ExcelParser.java:31)
>         at test.Test3.main(Test3.java:18)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message