I am using the RevMob plugin in my app, and am getting the same crash every time I call:
native.requestExit()
The stack trace:
W/System.err( 6199): Caused by: java.lang.NullPointerException
W/System.err( 6199): at plugin.revmob.LuaLoader.onExiting(LuaLoader.java:1523)
W/System.err( 6199): at com.ansca.corona.CoronaEnvironment$RuntimeEventHandler.onExiting(CoronaEnvironment.java:521)
W/System.err( 6199): at com.ansca.corona.CoronaRuntime.onExiting(CoronaRuntime.java:430)
W/System.err( 6199): at com.ansca.corona.CoronaRuntime.dispose(CoronaRuntime.java:76)
W/System.err( 6199): at com.ansca.corona.CoronaActivity.onDestroy(CoronaActivity.java:1505)
W/System.err( 6199): at android.app.Activity.performDestroy(Activity.java:5302)
W/System.err( 6199): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1117)
W/System.err( 6199): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3614)
W/System.err( 6199): … 12 more
This always happens, even if I exit the app before initializing revmob.
Why is this happening?
Can this be solved?