Why is it crashing?

So i have the following code:

        Vector<SpriteFrame*> animFrames(2);
	animFrames.pushBack(spriteFrameCache->getSpriteFrameByName("red_0.png"));
	animFrames.pushBack(spriteFrameCache->getSpriteFrameByName("red_2.png"));
	Animation* animation = Animation::createWithSpriteFrames(animFrames, 0.5);
	this->runAction((Animate::create(animation)));
	this->setPositionY(y - speed);

It is triggered whenever my player moves(and that action works). The animation is the one making it crash.
SpriteFrameCache already has the plist files loaded, and those images exists, I manually tried them.

Nevermind!

Just solved it. Instead of:

this->runAction((Animate::create(animation)));

I used

sprite->runAction((Animate::create(animation)));