You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "frederik.santens@pandora.be" <fr...@telenet.be> on 2005/02/11 10:04:34 UTC

IllegalStateException RunnableQueue

Hi, 

I have an multithreaded application where several threads offer Runnables to the runnablequeue. Most of the time I get an IllegateState when I close the application or change the svg in the JsvgCanvas. 

Any ideas how to solve this?
Thx
Frederik



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: IllegalStateException RunnableQueue

Posted by Thomas DeWeese <Th...@Kodak.com>.
hi frederik,

frederik.santens@pandora.be wrote:

> I have an multithreaded application where several threads offer 
> Runnables to the runnablequeue. Most of the time I get an 
> IllegateState when I close the application or change the svg 
> in the JsvgCanvas. 
> 
> Any ideas how to solve this?

    Don't submit runnables when the runnable queue isn't
running.  You need to shut down your threads before the canvas
or you could just catch the exception.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org