Error while running void start()

Asked

Viewed 80 times

0

Good, I was doing some coding of the proposed exercises. When I went to execute the following error:

java.lang.IllegalStateException: Toolkit not initialized

at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273)

at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268)

at javafx.application.Platform.runLater(Platform.java:83)

at bluej.runtime.ExecServer.runOnTargetThread(ExecServer.java:902)

at bluej.runtime.ExecServer.access$700(ExecServer.java:78)

at bluej.runtime.ExecServer$3.run(ExecServer.java:767)

and now whatever program you try to run gives this error.

  • make the code available for someone to test.

  • Already tried to restart the machine?

1 answer

0


I managed to solve it seems that the problem is in the file itself,IE, creating a new project and copying the same codes will be all right.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.