You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/02/19 01:40:19 UTC
DO NOT REPLY [Bug 40594] - WMF conversion library does not handle DIBBITBLT operand
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
antonio@flerwin.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From antonio@flerwin.net 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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org