https://issues.apache.org/bugzilla/show_bug.cgi?id=50761
Summary: in POI 2.5.1, excel file with data validation cell
selected, throw
java.lang.ArrayIndexOutOfBoundsException at
java.lang.System.arraycopy(Native Method) at
org.apache.poi.hssf.record.UnknownRecord.<init>(Unknow
nRecord.java:62 )
Product: POI
Version: 2.5
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P3
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=26638)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26638)
To replicate the issue
excel file with data validation cell selected, throw
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62
)
at
org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:5
7)
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 org.apache.poi.hssf.dev.BiffViewer.createRecord(BiffViewer.java:587)
at
org.apache.poi.hssf.dev.BiffViewer.createRecords(BiffViewer.java:114)
at org.apache.poi.hssf.dev.BiffViewer.run(BiffViewer.java:72)
at org.apache.poi.hssf.dev.BiffViewer.main(BiffViewer.java:649)
If i select simple text cell before saving the excel file, the exception gone
away. I'm using Excel 2002 SP3.
--
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: [email protected]
For additional commands, e-mail: [email protected]