Crash when rotate on Revert All

Bug #1039824 reported by SlumDroid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tomdroid
Fix Released
Undecided
Unassigned

Bug Description

Tomdroid 0.7.0 crashes when rotating the device in operation of "revert all"

The obtained exception stacktrace is reported below:

E/AndroidRuntime( 647): FATAL EXCEPTION: main
E/AndroidRuntime( 647): java.lang.IllegalArgumentException: View not attached to window manager
E/AndroidRuntime( 647): at android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:355)
E/AndroidRuntime( 647): at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
E/AndroidRuntime( 647): at android.view.Window$LocalWindowManager.removeView(Window.java:432)
E/AndroidRuntime( 647): at android.app.Dialog.dismissDialog(Dialog.java:278)
E/AndroidRuntime( 647): at android.app.Dialog.access$000(Dialog.java:71)
E/AndroidRuntime( 647): at android.app.Dialog$1.run(Dialog.java:111)
E/AndroidRuntime( 647): at android.app.Dialog.dismiss(Dialog.java:268)
E/AndroidRuntime( 647): at org.tomdroid.ui.Tomdroid$7.handleMessage(Tomdroid.java:465)
E/AndroidRuntime( 647): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 647): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 647): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 647): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 647): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 647): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 647): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 647): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 68): Force finishing activity org.tomdroid/.ui.Tomdroid

NoahY (noahy)
Changed in tomdroid:
status: New → Fix Committed
Changed in tomdroid:
milestone: none → 0.7.2
Changed in tomdroid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.