Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Occasionnaly getting error when closing efxclipse application(java.lang.IllegalStateException)
Occasionnaly getting error when closing efxclipse application [message #1435235] Wed, 01 October 2014 07:44 Go to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Hello,

Sometimes when stopping my efxclipse application I get the following error message :

Quote:

java.lang.IllegalStateException: Attempt to call defer when toolkit not running
at com.sun.javafx.tk.quantum.QuantumToolkit.defer(Unknown Source)
at com.sun.javafx.webkit.prism.PrismInvoker.invokeOnEventThread(Unknown Source)
at com.sun.webkit.Disposer$DisposerRunnable.enqueueAll(Unknown Source)
at com.sun.webkit.Disposer$DisposerRunnable.enqueue(Unknown Source)
at com.sun.webkit.Disposer$DisposerRunnable.access$200(Unknown Source)
at com.sun.webkit.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Looking for this error on the web, it seems most likely a threading-issue : somewhere forgotten a "Platform.runLater(...)" or that kind. My code however, for the time being, is entirely single-threaded (no eclipse Jobs, no javafx workers/tasks/services).

Should I file an issue or could it nevertheless be related to my code ... ?

Thomas
Re: Occasionnaly getting error when closing efxclipse application [message #1435376 is a reply to message #1435235] Wed, 01 October 2014 12:12 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
File a bug with a complete stack trace. If I get the problem correct
someone is still trying to do a Platform.runLater when the toolkit is
stopped already.

I can somehow remember JavaFX bugfix flying through because they where
still trying to execute queued Runnables but I'm not 100% sure!

Please also add the exact java version you are seeing this in.

Tom

On 01.10.14 00:44, Thomas Elskens wrote:
> Hello,
>
> Sometimes when stopping my efxclipse application I get the following
> error message :
>
> Quote:
>> java.lang.IllegalStateException: Attempt to call defer when toolkit
>> not running
>> at com.sun.javafx.tk.quantum.QuantumToolkit.defer(Unknown Source)
>> at
>> com.sun.javafx.webkit.prism.PrismInvoker.invokeOnEventThread(Unknown
>> Source)
>> at com.sun.webkit.Disposer$DisposerRunnable.enqueueAll(Unknown
>> Source)
>> at com.sun.webkit.Disposer$DisposerRunnable.enqueue(Unknown Source)
>> at com.sun.webkit.Disposer$DisposerRunnable.access$200(Unknown
>> Source)
>> at com.sun.webkit.Disposer.run(Unknown Source)
>> at java.lang.Thread.run(Unknown Source)
>
>
> Looking for this error on the web, it seems most likely a
> threading-issue : somewhere forgotten a "Platform.runLater(...)" or that
> kind. My code however, for the time being, is entirely single-threaded
> (no eclipse Jobs, no javafx workers/tasks/services).
> Should I file an issue or could it nevertheless be related to my code ... ?
>
> Thomas
>
Re: Occasionnaly getting error when closing efxclipse application [message #1435406 is a reply to message #1435376] Wed, 01 October 2014 12:51 Go to previous messageGo to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Done, reference of the bug is 445651. I've also added java version (1.8.0_05) as requested.
Re: Occasionnaly getting error when closing efxclipse application [message #1436209 is a reply to message #1435406] Thu, 02 October 2014 14:59 Go to previous message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member

If someone else were experiencing the same problem, hereby the feedback of the bugreport : upgrading from java 1.8.0_05 to 1.8.0_20 solves the problem.
Previous Topic:Using tags as class selectors
Next Topic:Demo Sources from JavaOne Presentations
Goto Forum:
  


Current Time: Fri Jan 17 23:58:59 GMT 2025

Powered by FUDForum. Page generated in 0.03460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top