Bug 31894

Summary: Problems reading combo box fieds
Product: POI Reporter: Artur Hubert <ahxyz>
Component: HSSFAssignee: POI Developers List <dev>
Severity: blocker    
Priority: P3    
Version: 2.5-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: MS Excel file having combo boxes.

Description Artur Hubert 2004-10-26 12:35:41 UTC
I use HSSF for Reading .xls file (2002-2003). In my excel files I have combo 
box fields. The error occurs, if one of combo box fields is activated and the 
my programm trys to read the file.  So if one of these fields is selected in a 
worksheet you are not able to read this workbook. 
Even if you close the file the error remains.

Thanks Artur

The exception I get is:
	at java.lang.System.arraycopy(Native Method)
	at org.apache.poi.hssf.record.UnknownRecord.<init>
	at org.apache.poi.hssf.record.SubRecord.createSubRecord
	at org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
	at org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
	at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
	at org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:61)
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at org.apache.poi.hssf.record.RecordFactory.createRecord
	at org.apache.poi.hssf.record.RecordFactory.createRecords
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
Comment 1 Jason Height 2004-10-26 22:20:14 UTC
Please attach the spreadhseet using the "Create a new attachment" hyperlink.

This makes it much easier to debug.

Comment 2 Artur Hubert 2004-10-27 07:03:07 UTC
Created attachment 13233 [details]
MS Excel file having combo boxes.
Comment 3 Jason Height 2005-08-26 04:08:45 UTC
Works with the current version in HEAD.