[GREENFOOT-380] Rare NullPointerException when resetting world
As reported by SPower on the Greenfoot forum, this exception can occur when pressing "reset" while a scenario is running at high speed:
{noformat} java.lang.NullPointerException at greenfoot.WorldVisitor.startSequence(WorldVisitor.java:73) at greenfoot.core.WorldHandler.startSequence(WorldHandler.java:873) at greenfoot.core.Simulation.runOneLoop(Simulation.java:491) at greenfoot.core.Simulation.runContent(Simulation.java:213) at greenfoot.core.Simulation.run(Simulation.java:203) {noformat}
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 2.3.0