Bug 30053 - java.lang.ArrayIndexOutOfBoundsException when reading a certain word file
Summary: java.lang.ArrayIndexOutOfBoundsException when reading a certain word file
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: 2.5-FINAL
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 14:42 UTC by Olivier Jolly
Modified: 2008-11-11 21:45 UTC (History)
2 users (show)



Attachments
The file which crashes (134.50 KB, application/msword)
2004-07-12 14:43 UTC, Olivier Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Jolly 2004-07-12 14:42:39 UTC
We got an issue which seems to be related to a given layout.
The attached file is a minimal example of what file crashes with an out of bound
exception.
We simply issue a :
InputStream source = ... ;
 HWPFDocument  document = new HWPFDocument(source);
to raise the problem.
Comment 1 Olivier Jolly 2004-07-12 14:43:36 UTC
Created attachment 12087 [details]
The file which crashes
Comment 2 Trejkaz (pen name) 2006-04-06 02:46:22 UTC
This doesn't happen on the attached document anymore.  Was this inadvertently
fixed by some other change?
Comment 3 Justin Warren 2007-04-03 07:38:14 UTC
I've seen this issue again, with the same document, in Version 3.0 alpha. When I
removed the align center formatting, it works fine. Something in there perhaps?
Comment 4 Robert Pastor 2008-11-11 21:45:15 UTC
I have checked this file - the one which should crash - and it works fine for me also. I propose to move the status of this bug.