animation

i’m following this : http://getsetgames.com/2010/04/18/how-to-animate-sprites-in-cocos2d/
to create an animation but it crashes :

    CCSpriteBatchNode *spriteSheet = CCSpriteBatchNode::batchNodeWithFile("Movement.png");
    this->addChild(spriteSheet);
    CCSprite *_ball = CCSprite::spriteWithBatchNode(spriteSheet,CCRectMake(0,0,75,80));
    _ball->setPosition(ccp(size.width/2,size.height/2));
    this->addChild(_ball);
    CCAnimation *moveAnim = CCAnimation::animation();
        for (int x = 0; x < 7; x++)
    {
         CCSpriteFrame *frame = CCSpriteFrame::frameWithTexture(spriteSheet->getTexture(),CCRectMake(x*85,0,75,80));
         moveAnim->addFrame(frame);

    }
    CCAnimate *anim = CCAnimate::actionWithAnimation(moveAnim,true);
    _ball->runAction(anim);

it compiles but crashes when run on ! m_bUsesBatchNode

You create sprite from CCSpriteBatchNode, so you can not invoke

 this->addChild(_ball);