Bug 31894 - Problems reading combo box fieds
Summary: Problems reading combo box fieds
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.5-FINAL
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2004-10-26 12:35 UTC by Artur Hubert
Modified: 2005-08-25 20:08 UTC (History)
0 users

MS Excel file having combo boxes. (73.50 KB, application/octet-stream)
2004-10-27 07:03 UTC, Artur Hubert

Note You need to log in before you can comment on or make changes to this bug.
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.