You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Haeussermann, Tobias (LBV)" <To...@lbv.bwl.de> on 2014/01/08 15:34:48 UTC
Trouble with Apache-POI
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.