This site requires JavaScript, please enable it in your browser!
Greenfoot back
MYSTICPHOENIXXX
MYSTICPHOENIXXX wrote ...

2020/5/21

Anyone knows what's wrong here?

MYSTICPHOENIXXX MYSTICPHOENIXXX

2020/5/21

#
When I was testing my Greenfoot Project, it kept on saying in Terminal Window: 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 Bullet_.act(Bullet_.java:23)
danpost danpost

2020/5/21

#
Line 23 in your Bullet class failed because the bullet was removed from from the world (probably due to line 22 or 21). Of course, without the code of the Bullet class being posted, no further assessments can be made nor can further help be provided.
MYSTICPHOENIXXX MYSTICPHOENIXXX

2020/5/21

#
danpost wrote...
Line 23 in your Bullet class failed because the bullet was removed from from the world (probably due to line 22 or 21). Of course, without the code of the Bullet class being posted, no further assessments can be made nor can further help be provided.
OHHHH, I just saw the problem after reading your comment danpost, thank you so much, you are a really big help!
You need to login to post a reply.