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 2008/09/30 08:39:00 UTC
DO NOT REPLY [Bug 45912] New: reading Worksheet with the camera tool
throws RecordFormatException.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45912
Summary: reading Worksheet with the camera tool throws
RecordFormatException.
Product: POI
Version: 3.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: rokugensai@gmail.com
Created an attachment (id=22645)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22645)
with the camera tool
when i read the workbook with the object made by the camera tool and new
HSSFWorkbook, it throws RecordFormatException.
the sample workbook is attached.
stack trace:
org.apache.poi.hssf.record.RecordFormatException: Unable to construct record
instance
at
org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:208)
at
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:126)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:246)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:169)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:298)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:279)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:196)
... 22 more
Caused by: java.lang.ArrayIndexOutOfBoundsException
at
org.apache.poi.hssf.record.RecordInputStream.checkRecordPosition(RecordInputStream.java:132)
at
org.apache.poi.hssf.record.RecordInputStream.readShort(RecordInputStream.java:152)
at
org.apache.poi.hssf.record.EmbeddedObjectRefSubRecord.fillFields(EmbeddedObjectRefSubRecord.java:89)
at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
at org.apache.poi.hssf.record.SubRecord.<init>(SubRecord.java:34)
at
org.apache.poi.hssf.record.EmbeddedObjectRefSubRecord.<init>(EmbeddedObjectRefSubRecord.java:64)
at
org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:62)
at org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:81)
at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
at org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:54)
... 27 more
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 45912] reading Worksheet with the camera tool
throws RecordFormatException.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45912
--- Comment #1 from rokugen <ro...@gmail.com> 2008-09-29 23:41:49 PST ---
with 3.0-FINAL, it can work well.
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 45912] reading Worksheet with the camera tool
throws RecordFormatException.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45912
Josh Micich <jo...@gildedtree.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Josh Micich <jo...@gildedtree.com> 2008-10-27 16:21:35 PST ---
fixed in svn r701569 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=701569 )
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org