Tomdroid 0.7.1 Crash on Cancel

Bug #1040338 reported by SlumDroid on 2012-08-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tomdroid
Fix Released
Undecided
Unassigned

Bug Description

In Settings, Service is on "SD Card".
Steps to reproduce are:

1) Open Menu
2) Click on "Settings"
3) Click on "Delete Remote Notes"
4) Click on "Yes"
5) Click on "Cancel"

The obtained exception stacktrace is reported below:

E/AndroidRuntime( 1007): FATAL EXCEPTION: main
E/AndroidRuntime( 1007): java.lang.NullPointerException
E/AndroidRuntime( 1007): at org.tomdroid.sync.SyncManager.cancel(SyncManager.java:118)
E/AndroidRuntime( 1007): at org.tomdroid.ui.PreferencesActivity$13.onCancel(PreferencesActivity.java:495)
E/AndroidRuntime( 1007): at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1050)
E/AndroidRuntime( 1007): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1007): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1007): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 1007): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1007): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1007): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 1007): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 1007): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 68): Force finishing activity org.tomdroid/.ui.PreferencesActivity
W/ActivityManager( 68): Activity pause timeout for HistoryRecord{408036c0 org.tomdroid/.ui.PreferencesActivity}
W/ActivityManager( 68): Activity idle timeout for HistoryRecord{407d7788 org.tomdroid/.ui.Tomdroid}
I/Process ( 1007): Sending signal. PID: 1007 SIG: 9
I/ActivityManager( 68): Process org.tomdroid (pid 1007) has died.

NoahY (noahy) on 2012-08-23
Changed in tomdroid:
status: New → Fix Committed
Changed in tomdroid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers