1

Cocos2d game crashed with java.util.ConcurrentModificationException in android

view story
linux-howto

http://stackoverflow.com – I am working on a game in android cocos2d. Every thing is working fine except this random crash. When I try to replace the scene it gives me exception below is the stack trace for the same: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:569) at org.cocos2d.nodes.CCNode.onEnter(CCNode.java:1351) at org.cocos2d.layers.CCLayer.onEnter(CCLayer.java:173) at org.cocos2d.nodes.CCNode.onEnter(CCNode.java:1352) at org.cocos2d.layers.CCLayer.onEnter(CCLayer.java:173) at org.cocos2d.nodes.CCNode.onEnter(CCNode.java:1352) at org.cocos2d.nod (HowTos)