[GREENFOOT-754] Exception on world instantiation when two scenarios are open
If you have two scenarios open which both have a "MyWorld" world, and you instantiate a new world in one of them, the following results (in the other):
{code:java} Internal error: starting shell class failed: com.sun.jdi.VMMismatchException: instance of MyWorld(id=1501) com.sun.jdi.VMMismatchException: instance of MyWorld(id=1501) at com.sun.tools.jdi.MirrorImpl.validateMirrorsOrNulls(MirrorImpl.java:104) at com.sun.tools.jdi.ArrayReferenceImpl.setValues(ArrayReferenceImpl.java:153) at com.sun.tools.jdi.ArrayReferenceImpl.setValue(ArrayReferenceImpl.java:133) at bluej.debugger.jdi.VMReference.invokeConstructor(VMReference.java:1902) at bluej.debugger.jdi.VMReference.instantiateClass(VMReference.java:1012) at bluej.debugger.jdi.JdiDebugger.instantiateClass(JdiDebugger.java:751) at greenfoot.guifx.GreenfootStage.lambda$55(GreenfootStage.java:1629) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139) at java.lang.Thread.run(Thread.java:748) {code}
Issue metadata
- Issue type: Task
- Priority: Medium