I get this nullPointerException on runtime:
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method \'void android.app.ActionB
Put assert getActionBar () != null; after mActionBar = getActionBar();
assert getActionBar () != null;
mActionBar = getActionBar();