Robin crashes on startup

Issue #23 resolved
Evan Passero created an issue

I am getting a force close dialog when I start my phone. Sanitized logcat attached. This is most likely the relevant part:

E/AndroidRuntime( 1426): FATAL EXCEPTION: main E/AndroidRuntime( 1426): java.lang.RuntimeException: Unable to create application in.rob.client.MainApplication: java.lang.NullPointerException E/AndroidRuntime( 1426): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4579) E/AndroidRuntime( 1426): at android.app.ActivityThread.access$1300(ActivityThread.java:153) E/AndroidRuntime( 1426): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307) E/AndroidRuntime( 1426): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 1426): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 1426): at android.app.ActivityThread.main(ActivityThread.java:5226) E/AndroidRuntime( 1426): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 1426): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 1426): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) E/AndroidRuntime( 1426): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) E/AndroidRuntime( 1426): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1426): Caused by: java.lang.NullPointerException E/AndroidRuntime( 1426): at in.rob.client.MainApplication.onCreate(MainApplication.java:100) E/AndroidRuntime( 1426): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000) E/AndroidRuntime( 1426): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4576) E/AndroidRuntime( 1426): ... 10 more

Comments (4)

  1. Evan Passero reporter

    I figure it is a minor bug since the app still functions without issue. It seems like the it is crashing when it tries to create a dashclock widget on system startup.

  2. Evan Passero reporter

    Only when I restart the phone. After the "Robin has been force closed" dialog is gone I can open it without issue.

  3. Log in to comment