Error executing void start () [closed]

0

Well, I was doing some code of the proposed exercises. When I went to run it throws 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.

    
asked by anonymous 13.12.2017 / 20:33

1 answer

0

I was able to resolve it seems that the problem is in the file itself, ie creating a new project and copying the same codes will be all right.

    
27.12.2017 / 20:05