Hi Thomas,

I checked all my codes which modiying the DOM and found
several cases which does not.
After correcting those codes, the sympton I reported seems
to be fixed perfectly.
Thank you for your good advice.

Shin

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 24, 2006 8:58 PM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: ConcurrentModificationException in 
> org.apache.batik.gvt.UpdateTracker.getDirtyAreas
> 
> 
> Hi Shin,
> 
> [EMAIL PROTECTED] (sugawara) wrote on 03/24/2006 06:57:11 AM:
> 
> > I am developping a graphical editor program using batik 1.6 and 
> JDK1.50_05.
> > It almost works fine, but sometimes after using my program for 2 or 3 
> hours,
> > following exception occurs in sudden.
> > 
> > Exception in thread "RunnableQueue-5"
> > java.util.ConcurrentModificationException
> >    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
> >    at java.util.HashMap$KeyIterator.next(HashMap.java:823)
> >    at org.apache.batik.gvt.UpdateTracker.getDirtyAreas(Unknown Source)
> 
>    This is a clear indication that you are modifying the DOM outside of
> the UpdateManager's RunnableQueue.
> 
> >    at org.apache.batik.bridge.UpdateManager.repaint(Unknown Source)
> >    at
> > 
> org.apache.batik.bridge.UpdateManager$UpdateManagerRunHander.runna
> bleInvoked
> > (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:595)
> 
> > Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException:
> > RunnableQueue not started or has exited
> >    at org.apache.batik.util.RunnableQueue.invokeLater(Unknown Source)
> 
>   The above exception kills the RunnableQueue.
> 
> > Once this happens, the second exception, IllegalStateException appears
> >  for every mouse events infinitely.
> > Is this a bug in org.apache.batik.gvt.UpdateTracker.getDirtyAreas() ?
> > If anyone knows anything about this problem, please let me know.
> 
>   You must ensure that _all_ modifications of the DOM take place
> in the UpdateManager's RunnableQueue (read the FAQ for code on 
> how to make this happen).
> 
> 
> ---------------------------------------------------------------------
> 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