Bug #353
changestatus causes segfault
Description
When I try to change status either with the button in the menu or with the notification area I get this segfault and the program crashes.
04-20 19:49:11.021: INFO/ActivityManager(33): Starting activity: Intent { cmp=com.beem.project.beem/.ui.ChangeStatus bnds=[0,152][480,248] }
04-20 19:49:11.041: WARN/ActivityManager(33): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=com.beem.project.beem/.ui.ChangeStatus bnds=[0,152][480,248] }
04-20 19:49:11.301: DEBUG/BeemService(252): ONUNBIND
04-20 19:49:11.481: DEBUG/AndroidRuntime(252): Shutting down VM
04-20 19:49:11.501: WARN/dalvikvm(252): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
04-20 19:49:11.521: ERROR/AndroidRuntime(252): Uncaught handler: thread main exiting due to uncaught exception
04-20 19:49:11.571: ERROR/AndroidRuntime(252): java.lang.Error: Unresolved compilation problems:
04-20 19:49:11.571: ERROR/AndroidRuntime(252): avatarButton cannot be resolved or is not a field
04-20 19:49:11.571: ERROR/AndroidRuntime(252): avatar_panel cannot be resolved or is not a field
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at com.beem.project.beem.ui.ChangeStatus.onCreate(ChangeStatus.java:170)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.os.Handler.dispatchMessage(Handler.java:99)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.os.Looper.loop(Looper.java:123)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at android.app.ActivityThread.main(ActivityThread.java:4363)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at java.lang.reflect.Method.invokeNative(Native Method)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at java.lang.reflect.Method.invoke(Method.java:521)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-20 19:49:11.571: ERROR/AndroidRuntime(252): at dalvik.system.NativeStart.main(Native Method)
04-20 19:49:11.712: INFO/Process(33): Sending signal. PID: 252 SIG: 3
04-20 19:49:11.721: INFO/dalvikvm(252): threadid=7: reacting to signal 3
04-20 19:49:11.820: INFO/dalvikvm(252): Wrote stack trace to '/data/anr/traces.txt'
04-20 19:49:14.151: INFO/Process(252): Sending signal. PID: 252 SIG: 9
04-20 19:49:14.251: INFO/ActivityManager(33): Process com.beem.project.beem (pid 252) has died.
Updated by Frédéric Barthéléry over 13 years ago
- Status changed from New to Assigned
- Assignee set to Frédéric Barthéléry
It seems your apk is not build correctly. I think your gen/com/beem/project/beem/R.java is not up to date. Try to regenerate it
Updated by Frédéric Barthéléry about 13 years ago
- Status changed from Assigned to Resolved
- Target version set to 0.1.7