OrangesCyf / boardgamegeek

Automatically exported from code.google.com/p/boardgamegeek
0 stars 0 forks source link

The application crashes when trying to clear all synchronized information #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce:
1. Go to "Settings"
2. Click on "Clear"
3. Press the Button "Clear"

Expected output: Delete all synchronized information.

Actual output: The application stops and Android informs that "Sorry, the 
application BoardGameGeek has stopped unexpectedly".

BoardGameGeek for Android version 3.5 on Android 2.2 and 2.3.3

The obtained exception stacktrace is reported below:

E/AndroidRuntime(  407): FATAL EXCEPTION: main
E/AndroidRuntime(  407): java.lang.NullPointerException
E/AndroidRuntime(  407):    at 
com.boardgamegeek.pref.ClearDialogPreference$ClearTask.onPreExecute(ClearDialogP
reference.java:54)
E/AndroidRuntime(  407):    at android.os.AsyncTask.execute(AsyncTask.java:391)
E/AndroidRuntime(  407):    at 
com.boardgamegeek.pref.AsyncDialogPreference.onDialogClosed(AsyncDialogPreferenc
e.java:47)
E/AndroidRuntime(  407):    at 
android.preference.DialogPreference.onDismiss(DialogPreference.java:383)
E/AndroidRuntime(  407):    at 
android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1047)
E/AndroidRuntime(  407):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  407):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  407):    at 
android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime(  407):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(  407):    at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(  407):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime(  407):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime(  407):    at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(   68):   Force finishing activity 
com.boardgamegeek/.pref.Preferences
W/ActivityManager(   68): Activity pause timeout for HistoryRecord{40543f08 
com.boardgamegeek/.pref.Preferences}
I/Process (  407): Sending signal. PID: 407 SIG: 9
I/ActivityManager(   68): Process com.boardgamegeek (pid 407) has died.

Original issue reported on code.google.com by inkubo3@gmail.com on 9 Jun 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Fixed long ago (in r608)

Original comment by chris.co...@gmail.com on 18 Sep 2013 at 9:02