Error into animations

Error into animations
0.0 0


Hey guys, how are u doing?

I am almost ending the new game of Naked Monkey Games, it is indeed a porting, but we have re-wrote the entire code based into the game (it was easy than to adapt the crazy code that was in ObjC). But when doing the QA we have faced some problems, in specific a random error that is:
Uncaught TypeError: Cannot call method ‘setDisplayFrame’ of null …/Game/lib/cocos2d/actions/CCActionInterval.js:1996

I believe that this is an animation that wants to start or to change it frames, but the object was already removed. That is my hint, but I am not sure…,

Anyone has faced it?



Hi Pedro Kayatt,

Could you please show the call stack to us?

The message “Uncaught TypeError: Cannot call method ‘setDisplayFrame’ of null …/Game/lib/cocos2d/actions/CCActionInterval.js:1996” is mean that the target of Animate is null.

I don’t know why is the target null?