https://issues.apache.org/bugzilla/show_bug.cgi?id=50052

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Yegor Kozlov <[email protected]> 2010-10-07 10:14:25 EDT ---
The patch breaks a unit test. I'm getting the following exception if I apply
the supplied code to trunk (r1005447) :


java.lang.IndexOutOfBoundsException: Index: 8, Size: 8
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at org.apache.poi.hwpf.usermodel.Range.findRange(Range.java:976)
    at org.apache.poi.hwpf.usermodel.Range.initCharacterRuns(Range.java:925)
    at org.apache.poi.hwpf.usermodel.Range.getCharacterRun(Range.java:785)
    at org.apache.poi.hwpf.usermodel.ListEntry.<init>(ListEntry.java:61)
    at org.apache.poi.hwpf.usermodel.Range.getParagraph(Range.java:831)
    at
org.apache.poi.hwpf.usermodel.TestLists.testWriteRead(TestLists.java:206)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



Yegor

-- 
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]

Reply via email to