You are viewing a plain text version of this content. The canonical link for it is here.
Posted to community@apache.org by "Haeussermann, Tobias (LBV)" <To...@lbv.bwl.de> on 2014/01/08 12:56:12 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. 


Re: Trouble with Apache-POI

Posted by Jukka Zitting <ju...@gmail.com>.
Hi Tobias,

On Wed, Jan 8, 2014 at 6:56 AM, Haeussermann, Tobias (LBV)
<To...@lbv.bwl.de> wrote:
> I’m using the Apache-poi library (3.10-beta2) for editing excel-documents.
> [...]
> 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.

Try asking the user@poi.apache.org mailing list, as that's where more
POI experts can be found. See http://poi.apache.org/mailinglists.html
for related instructions.

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: community-unsubscribe@apache.org
For additional commands, e-mail: community-help@apache.org


Re: Trouble with Apache-POI

Posted by Chris Mattmann <ma...@apache.org>.
Hi Tobias,

You may want to take this question to the Apache POI dev list.
I'm CC'ing them here. This is the Apache community list and not
really specific to any one project or to any one developer community.
dev@<apache project>.apache.org is usually a good first bet.

Cheers,
Chris



-----Original Message-----
From: <Haeussermann>, "Tobias   (LBV)" <To...@lbv.bwl.de>
Reply-To: "community@apache.org" <co...@apache.org>
Date: Wednesday, January 8, 2014 3:56 AM
To: "community@apache.org" <co...@apache.org>
Subject: 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.
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: Trouble with Apache-POI

Posted by Thilo Goetz <tw...@gmx.de>.
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.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: community-unsubscribe@apache.org
For additional commands, e-mail: community-help@apache.org


Re: Trouble with Apache-POI

Posted by Chris Mattmann <ma...@apache.org>.
Hi Tobias,

You may want to take this question to the Apache POI dev list.
I'm CC'ing them here. This is the Apache community list and not
really specific to any one project or to any one developer community.
dev@<apache project>.apache.org is usually a good first bet.

Cheers,
Chris



-----Original Message-----
From: <Haeussermann>, "Tobias   (LBV)" <To...@lbv.bwl.de>
Reply-To: "community@apache.org" <co...@apache.org>
Date: Wednesday, January 8, 2014 3:56 AM
To: "community@apache.org" <co...@apache.org>
Subject: 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.
>



---------------------------------------------------------------------
To unsubscribe, e-mail: community-unsubscribe@apache.org
For additional commands, e-mail: community-help@apache.org


Re: Trouble with Apache-POI

Posted by Nick Burch <ni...@apache.org>.
On Wed, 8 Jan 2014, Haeussermann, Tobias (LBV) wrote:
> 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

Your best bet is to re-ask this on the Apache POI users list, see 
http://poi.apache.org/mailinglists.html for the details of how to post and 
subscribe

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: community-unsubscribe@apache.org
For additional commands, e-mail: community-help@apache.org