When I try to load my app with Pollfish on some Android devices, I get the following crash:
10-05 19:13:47.072 7456 7470 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference 10-05 19:13:47.072 7456 7470 W System.err: at plugin.pollfish.LuaLoader.onResumed(LuaLoader.java:270) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.CoronaEnvironment$RuntimeEventHandler.onResumed(CoronaEnvironment.java:509) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.CoronaRuntime.onResumed(CoronaRuntime.java:408) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.NativeToJavaBridge.callOnRuntimeResumed(NativeToJavaBridge.java:439) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.JavaToNativeShim.nativeResume(Native Method) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.JavaToNativeShim.resume(JavaToNativeShim.java:149) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.Controller.updateRuntimeState(Controller.java:298) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:421) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1623) 10-05 19:13:47.072 7456 7470 W System.err: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)
This has happened on a Nexus 7 tablet with Android 6.0.1.
Can anyone help fix this crash?
Thanks