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 2004/04/01 19:28:38 UTC

DO NOT REPLY [Bug 28136] New: - POI 2.5 throws RecordFormatException on complex MS Excel spreadsheet

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28136>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28136

POI 2.5 throws RecordFormatException on complex MS Excel spreadsheet

           Summary: POI 2.5 throws RecordFormatException on complex MS Excel
                    spreadsheet
           Product: POI
           Version: 2.0FINAL
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: jwang@ms.soph.uab.edu


Attached to this bug report is a MS Excel spreadsheet, Project.xls, that is
generated by a program called BRB ArrayTools.  It parsed without complaint in
POI 1.5.1, but in POI 2.5 it throws the following exception:

org.apache.poi.hssf.record.RecordFormatException: Unable to construct record
instance, the following exception occured: null
	at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:237)
	at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:165)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:212)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:193)
	at test.TestProject.main(TestProject.java:9)
Exception in thread "main" 

I will attach Project.xls, TestProject.java (exercises the bug), and out.txt
(capture of the entire trace for the exception).

-jw

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