Re: Trouble with Apache-POI
Thilo Goetz <[email protected]> Thu, 09 Jan 2014 15:33:56 +1300
| Newsgroups | gmane.comp.apache.community |
|---|---|
| Message-ID | <[email protected]> |
Please write to the POI users list, info on which you can find here: http://poi.apache.org/mailinglists.html Most likely they'll want the excel file, as well as the full stack trace. --Thilo On 01/09/2014 12:56 AM, Haeussermann, Tobias (LBV) wrote: > Hello, > > I’m using the Apache-poi library (3.10-beta2) for editing > excel-documents. It is working fine with most of my excel-files. > However I get an exception > > „org.apache.poi.hssf.record.RecordFormatException: Unexpected remaining > size (20)“ > > which is causing > > „org.apache.poi.hssf.record.RecordFormatException: Unable to construct > record instance“ > > when I try to load a specific excel-file with following code: > > > HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(new > File(#path#))); < > > The document, which causes the error contains some pivot-elements. > > The source oft he exception itself is > „ExtendedPivotTableViewFieldsRecord.java:68“. > > I really don’t have an idea, why I get this exception. I would be glad > if someone could try to explain the cause of my problem. > > Tell me, if you need the excel-file itself. >