I've created a list to fill it with objects in my screen. After some time playing I get this message:
java.lang.IllegalStateException: Actor not in world. An attempt was made to use the actor's location while it is not in the world. Either it has not yet been inserted, or it has been removed.
at greenfoot.Actor.failIfNotInWorld(Actor.java:663)
at greenfoot.Actor.getObjectsInRange(Actor.java:882)
at RibbonPig.checkPlatForm(RibbonPig.java:60)
at RibbonPig.act(RibbonPig.java:55)
at greenfoot.core.Simulation.actActor(Simulation.java:568)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:526)
at greenfoot.core.Simulation.runContent(Simulation.java:215)
at greenfoot.core.Simulation.run(Simulation.java:205)
How can I catch this up?
Yours,
Dennis de Vink

