sebastianljunggren/WhatsUp — Issue #23: RefPointActivity not starting - Blame: DataProvider
Author: kirayatail
Created: 2011-10-11 20:37:28+00:00
State: open

DataProvider not returning an empty list of ReferencePoints.

Stack trace:
10-11 22:33:26.300: ERROR/AndroidRuntime(378): java.lang.RuntimeException: Unable to start activity ComponentInfo{nu.placebo.whatsup/nu.placebo.whatsup.activity.RefPointActivity}: java.lang.ClassCastException: android.widget.ImageButton
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.os.Handler.dispatchMessage(Handler.java:99)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.os.Looper.loop(Looper.java:123)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.ActivityThread.main(ActivityThread.java:4627)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at java.lang.reflect.Method.invokeNative(Native Method)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at java.lang.reflect.Method.invoke(Method.java:521)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at dalvik.system.NativeStart.main(Native Method)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): Caused by: java.lang.ClassCastException: android.widget.ImageButton
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at nu.placebo.whatsup.activity.RefPointActivity.onCreate(RefPointActivity.java:42)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
10-11 22:33:26.300: ERROR/AndroidRuntime(378): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)