Bug 45626 - org.apache.poi.hssf.record.RecordFormatException: Unhandled Continue Record
Summary: org.apache.poi.hssf.record.RecordFormatException: Unhandled Continue Record
Status: RESOLVED WONTFIX
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 06:12 UTC by Santiago Duro
Modified: 2008-08-13 07:10 UTC (History)
0 users



Attachments
Result of the test with BiffViewer (743.08 KB, application/octet-stream)
2008-08-13 06:17 UTC, Santiago Duro
Details
The problematic sheet (21.50 KB, application/vnd.ms-excel)
2008-08-13 07:09 UTC, Santiago Duro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Duro 2008-08-13 06:12:46 UTC
This is the exception that occurs when I try to parse the file:
Exception in thread "main" org.apache.poi.hssf.record.RecordFormatException: Unhandled Continue Record
        at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:168)
        at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:246)
        at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:169)
        at com.ericsson.aplicacionibita.IPXFiguresReport.setHSSFWorkBook(IPXFiguresReport.java:142)

I have passed the class BiffViewer and my results by console are the next:

WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 1 bytes of record 0x1044
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014
WARN. Unread 2 bytes of record 0x1014

I don't know how to identify the incorrect cells.
I also attach the output of the test with BiffViewer that I have loaded in a file called ResultadoPruebaIPXFigures
Comment 1 Santiago Duro 2008-08-13 06:17:47 UTC
Created attachment 22442 [details]
Result of the test with BiffViewer

The file that i have forgotten
Comment 2 Nick Burch 2008-08-13 06:38:48 UTC
Could you please upload the problem file? Without it, we won't be able to do much.

Also, have you tried with a recent svn checkout / nightly build of poi, to see if it has been fixed recently?
Comment 3 Santiago Duro 2008-08-13 06:43:39 UTC
I have tried with all the last versions of poi with the same result. I cannot insert the file because it contains confidential data, I'm sorry. 
Comment 4 Nick Burch 2008-08-13 06:50:59 UTC
Without the problem file I'm not sure how we can fix it

You could try blanking out all the text, and see if that file still has the problem.

Please re-open the bug if you're able to provide a file that triggers the issue. Without that, we're not going to be able to figure out what's wrong, test possible fixes for it etc
Comment 5 Yegor Kozlov 2008-08-13 06:53:06 UTC
(In reply to comment #3)
> I have tried with all the last versions of poi with the same result. I cannot
> insert the file because it contains confidential data, I'm sorry. 
> 

What does the file contain? Are there any charts, drawings, embedded objects, etc.? 
Give us any possible hints.

Yegor
Comment 6 Santiago Duro 2008-08-13 06:56:22 UTC
I 've discovered the sheet responsible of the fail. It has charts but I'm going to investigate a bit more. I will inform you. Sorry, but I can't say more at the moment.
Comment 7 Santiago Duro 2008-08-13 07:09:48 UTC
Created attachment 22443 [details]
The problematic sheet
Comment 8 Santiago Duro 2008-08-13 07:10:19 UTC
Well, thanks anyway. I have found the error and I can insert a file with the object, simbol, I don't know what it is, that is the responsible of the fail.