Getting a scene context after JNI code executes

I am attempting to log the user in to facebook with android (cocos2d-x 2.2.1). All of the java code works great and calls back to my facebook bridge (C++).

I need to be able to create a callback to one of my scenes, but whenever I try to get the static scene it returns null.

In my mainmenuscene I have:
static MainMenuScene *mms
and
loginCallback(bool success)

When I come back from JNI, I try MainMenuScene::mms->loginCallback(success), but mms is always null.

Any thoughts?

When you instantiate your MainMenuScene, do you affect :
mms = this
?

Yep that’s exactly what I’m doing