nicolasgramlich/AndEngine — Issue #7: [Bug] Nullpointer Exception in BaseGameActivity?
Author: s4ke
Created: 2012-01-06 10:03:43+00:00
State: open

Hello there. Sometimes it occurs that in BaseGameActivity this part here:

@Override
public void onResumeGame() {
Debug.d(this.getClass().getSimpleName() + ".onResumeGame" + " @(Thread: '" + Thread.currentThread().getName() + "')");

this.mEngine.start();

this.mGamePaused = false;
}

is being executed without mEngine being initialized (at game startup).

sake