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 2003/08/12 19:56:38 UTC

DO NOT REPLY [Bug 15228] - [Urgent] ArrayIndexoutofbounds Exception. POI - Version 1.8

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15228

[Urgent] ArrayIndexoutofbounds Exception. POI - Version 1.8

clay@vt.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From clay@vt.edu  2003-08-12 17:56 -------
I am still having this problem with 2.0-pre3.  I have about twenty Excel files, 
all seemingly the same (structurally) and I am batch processing them with Ant, 
and running to this error on half to three quarters of them.

Here is a stack trace:

       [excel] java.lang.reflect.InvocationTargetException
       [excel] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
       [excel] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance
(Unknown Source)
       [excel] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(Unknown Source)
       [excel] 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
       [excel] 	at org.apache.poi.hssf.record.RecordFactory.createRecord
(RecordFactory.java:257)
       [excel] 	at org.apache.poi.hssf.record.RecordFactory.createRecords
(RecordFactory.java:193)
       [excel] 	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:207)
       [excel] 	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:174)
       [excel] 	at com.etg.ant.ExcelTask.execute(ExcelTask.java:90)
       [excel] 	at com.etg.ant.ExcelTask.execute(ExcelTask.java:61)
       [excel] 	at org.apache.tools.ant.Task.perform(Task.java:319)
       [excel] 	at org.apache.tools.ant.Target.execute(Target.java:309)
       [excel] 	at org.apache.tools.ant.Target.performTasks(Target.java:336)
       [excel] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
       [excel] 	at org.apache.tools.ant.Project.executeTargets
(Project.java:1250)
       [excel] 	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run
(InternalAntRunner.java:569)
       [excel] 	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run
(InternalAntRunner.java:367)
       [excel] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [excel] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       [excel] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
       [excel] 	at java.lang.reflect.Method.invoke(Unknown Source)
       [excel] 	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
       [excel] 	at 
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate
$1.run(AntLaunchDelegate.java:172)
       [excel] 	at java.lang.Thread.run(Unknown Source)
       [excel] Caused by: java.lang.ArrayIndexOutOfBoundsException: 11
       [excel] 	at org.apache.poi.util.LittleEndian.getNumber
(LittleEndian.java:529)
       [excel] 	at org.apache.poi.util.LittleEndian.getInt
(LittleEndian.java:177)
       [excel] 	at org.apache.poi.hssf.record.BOFRecord.fillFields
(BOFRecord.java:170)
       [excel] 	at org.apache.poi.hssf.record.Record.fillFields(Record.java:127)
       [excel] 	at org.apache.poi.hssf.record.Record.<init>(Record.java:92)
       [excel] 	at org.apache.poi.hssf.record.BOFRecord.<init>
(BOFRecord.java:135)
       [excel] 	... 24 more

I am looking into whether I can permission to give you one of the files that is 
bombing out, but that may take a little longer, and may not be allowable. 
*sorry, not my call*  :(

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