DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40594>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40594 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [EMAIL PROTECTED] 2007-02-18 16:40 ------- It seems that with the latest SVN version (which includes this patch) I get: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.apache.batik.transcoder.wmf.tosvg.MetaRecord.ElementAt(MetaRecord.java:70) at org.apache.batik.transcoder.wmf.tosvg.WMFPainter.paint(WMFPainter.java:848) at org.apache.batik.transcoder.wmf.tosvg.WMFTranscoder.transcode(WMFTranscoder.java:185) I added some logging, and found that this code is getting executed twice... on the second execution is when the code fails... I added the following code for testing at line 847: System.out.println("ElementAt(0) :"+mr.ElementAt( 0 ).intValue()+":"); System.out.println("ElementAt(1) :"+mr.ElementAt( 1 ).intValue()+":"); System.out.println("ElementAt(2) :"+mr.ElementAt( 2 ).intValue()+":"); Which resulted in the following: ElementAt(0) :0: ElementAt(1) :320: ElementAt(2) :768: ElementAt(0) :0: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 ... So, it is on the second call, that ElementAt(1) is failing... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
