error when i use ccsequence

error when i use ccsequence
0.0 0


i want to ask something, i’ update my cocos2d-x version to cocos2d-x 2.1.5,but there is an error when i use ccsequence with ccrepeatforever. My code is like this:

CCSequence* seq = CCSequence ::create(
CCScaleTo::create(0.6, 0.99, 1.01f),
CCScaleTo::create(0.6, 1.01, 0.99f),NULL);

CCSequence * seq2 = CCSequence ::create(seq, seq);
CCRepeatForever * rep = CCRepeatForever::create(seq2);


And the error is in CCActionInterval.cpp, here:
// Last action found and it is done

Thread 1: EXC_BAD_ACCESS(code=1, address=0x1b)

maybe someone can help me, thanks


You forgot NULL in CCSequence::create;


oh yes… you right, thank you…

before i update the cocos, it’s work correctly. so i didn’t think that is wrong. Thanks