On Wed, 16 Mar 2011, Matthias Wolpers wrote:
1.3 the stack trace
----------------------
       at 
org.apache.poi.hssf.record.chart.ChartEndObjectRecord.<init>(ChartEndObjectRecord.java:44)

This is the bit that matters. There's a problem with creating one of the chart records for your file

In theory, the record should be padded with 6 bytes at the end, but it looks like in your case it isn't. Can you share the problem file so we can look into it?

Also, if you fancy checking the Microsoft docs on this record (it'll be in the [MS-XLS].pdf file, look it up by the sid of 0x0855) and see what they say about the contents of the record, that'd be handy.

2.6 i read in some tickets about BiffViewer analysis. I hope i can be excused for not managing to get ahold of BiffViewer (where is it? how is it run? i'm getting too old for this sort of thing...). I found other purported BiffViewers on the web and tried to look at a working file vs this nonworking file (in the pre-reduced state) but could make no sense of what i saw there.

It's included in the main POI jar. The class is org.apache.poi.hssf.dev.BiffViewer, and it has a main method - just call it with the name of the file to be analyzed

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to