You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/03/17 08:06:06 UTC

DO NOT REPLY [Bug 50939] RecordFormatException (another)

https://issues.apache.org/bugzilla/show_bug.cgi?id=50939

Mats Wolpers <ma...@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Mats Wolpers <ma...@yahoo.de> 2011-03-17 03:06:04 EDT ---
one answer received from nick:


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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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