[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    Trouble with Apache-POI
From:       "Haeussermann, Tobias (LBV)" <Tobias.Haeussermann () lbv ! bwl ! de>
Date:       2014-01-08 14:34:48
Message-ID: D7ADCD8D8EBB1C4DAA7155F1FD68F63E0FCBCD31 () LBVSM01 ! LBV ! BWL ! NET
[Download RAW message or body]


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. 

 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic