Hi Yann,

   This appears to be a real issue, but I have been unable to
reproduce the problem.  Can you create a Bugzilla entry, and
I will attach a possible patch so you can try it out?

   This will also ensure that the issue doesn't get lost.

   If you could include some information on the system where you
see the problem (or even better a test case) that would be helpful.

y g wrote:
Hi

I have some problems with RunnableQueue.
I've read that UpdateTracker is _not_ intended to be
thread safe, but UpdateTracker.changeStarted() is
called outside the UpdateManager thread when resizing
the SVGCanvas. sometimes this could finnish with a
ConcurrentModificationException in UpdateManager.

Here are stack traces for AWTEventDispatchThread and
the ConcurrentModificationException in UpdateManager



java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1103) at org.apache.batik.gvt.UpdateTracker.changeStarted(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.fireGraphicsNodeChangeStarted(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.fireGraphicsNodeChangeStarted(Unknown Source) at org.apache.batik.gvt.CanvasGraphicsNode.setViewingTransform(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.updateRenderingTransform(Unknown Source) at org.apache.batik.swing.gvt.JGVTComponent$1.componentResized(Unknown Source) at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:125) at java.awt.Component.processComponentEvent(Component.java:5120) at java.awt.Component.processEvent(Component.java:5074) at java.awt.Container.processEvent(Container.java:1607) at java.awt.Component.dispatchEventImpl(Component.java:3754) at java.awt.Container.dispatchEventImpl(Container.java:1664) at java.awt.Component.dispatchEvent(Component.java:3582) at java.awt.EventQueue.dispatchEvent(EventQueue.java:531) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:238) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:182) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.run(EventDispatchThread.java:131)




java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java(Compiled Code)) at java.util.HashMap$KeyIterator.next(HashMap.java(Compiled Code)) at org.apache.batik.gvt.UpdateTracker.getDirtyAreas(Unknown Source) at org.apache.batik.bridge.UpdateManager.repaint(Unknown Source) at org.apache.batik.bridge.UpdateManager$UpdateManagerRunHander.runnableInvoked(Unknown Source) at org.apache.batik.util.RunnableQueue.runnableInvoked(Unknown Source) at org.apache.batik.util.RunnableQueue.run(Unknown Source) at java.lang.Thread.run(Thread.java:568)


I hope this can help. yann.





                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to