Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException in MonsterMovementController.moveMonsters #359

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Sometimes when moving close to some monsters the game will crash with an 
exception. It always crashes when moving right next to a monster. So far it has 
been easiest to reproduce with Iqhan monsters.


java.util.ConcurrentModificationException
    at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:569)
    at com.gpl.rpg.AndorsTrail.controller.MonsterMovementController.moveMonsters(MonsterMovementController.java:31)
    at com.gpl.rpg.AndorsTrail.controller.GameRoundController.onNewTick(GameRoundController.java:98)
    at com.gpl.rpg.AndorsTrail.controller.GameRoundController.onTick(GameRoundController.java:30)
    at com.gpl.rpg.AndorsTrail.util.TimedMessageTask.tick(TimedMessageTask.java:31)
    at com.gpl.rpg.AndorsTrail.util.TimedMessageTask.handleMessage(TimedMessageTask.java:26)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:5227)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
    at dalvik.system.NativeStart.main(Native Method)
Force finishing activity com.gpl.rpg.AndorsTrail/.activity.MainActivity

Original issue reported on code.google.com by [email protected] on 27 Jun 2014 at 10:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant