Hi there, I got an error report for one of my games published at android market. This crash occurs at the app startup, and not all times.
The error report shows this stack trace:
java.lang.NullPointerException
at com.ansca.corona.CoronaActivity.onKeyDown(CoronaActivity.java:1235)
at android.view.KeyEvent.dispatch(KeyEvent.java:2521)
at android.app.Activity.dispatchKeyEvent(Activity.java:2274)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewRoot.deliverKeyEventPostIme(ViewRoot.java:2880)
at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2853)
at android.view.ViewRoot.handleMessage(ViewRoot.java:2028)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4028)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
This app version was build with db: 746.
When this “onKeyDown” is called? My first screen is a splash screen, with only a timer and a call to storyboard to change scene. [import]uid: 50425 topic_id: 22367 reply_id: 322367[/import]