flex01 / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Crash after changing screen oriantation while loading socialAuth dialog #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call comand to open socialAuth dialog.
2. While loading change screen orientation very fast.
3.

SocialAuth dialog should be rotated but app crashes instead.
I'm using socialauth-android.jar however I'cant fine any version signature :/ 

 FATAL EXCEPTION: main
    java.lang.IllegalArgumentException: View not attached to window manager
            at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:406)
            at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:308)
            at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:79)
            at android.app.Dialog.dismissDialog(Dialog.java:331)
            at android.app.Dialog.dismiss(Dialog.java:314)
            at org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient.onPageFinished(SocialAuthDialog.java:466)
            at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:324)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:213)
            at android.app.ActivityThread.main(ActivityThread.java:5225)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
            at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by grzegorz...@gmail.com on 29 Jul 2014 at 7:33

GoogleCodeExporter commented 9 years ago
It occurs in socialauth-android-3.2.jar and socialauth-4.4.jar

Original comment by grzegorz...@gmail.com on 29 Jul 2014 at 7:58