1
我已經在我的應用程序中完成了Facebook集成,它對我來說工作正常。但是,當我點擊清除憑證按鈕,然後又想登錄共享應用程序崩潰並給出異常的內容。以下是例外細節。我在谷歌搜索,但沒有得到任何滿意的答案。在Facebook共享得到異常android.webkit.WebView.onWindowFocusChanged
11-06 17:25:32.074: E/AndroidRuntime(410): java.lang.NullPointerException
11-06 17:25:32.074: E/AndroidRuntime(410): at android.webkit.WebView.onWindowFocusChanged(WebView.java:4177)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.View.dispatchWindowFocusChanged(View.java:3788)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:658)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.view.ViewRoot.handleMessage(ViewRoot.java:1921)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.os.Handler.dispatchMessage(Handler.java:99)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.os.Looper.loop(Looper.java:123)
11-06 17:25:32.074: E/AndroidRuntime(410): at android.app.ActivityThread.main(ActivityThread.java:4627)
11-06 17:25:32.074: E/AndroidRuntime(410): at java.lang.reflect.Method.invokeNative(Native Method)
11-06 17:25:32.074: E/AndroidRuntime(410): at java.lang.reflect.Method.invoke(Method.java:521)
11-06 17:25:32.074: E/AndroidRuntime(410): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-06 17:25:32.074: E/AndroidRuntime(410): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-06 17:25:32.074: E/AndroidRuntime(410): at dalvik.system.NativeStart.main(Native Method)
請幫我找出爲什麼這個例外即將到來以及如何解決這個問題。任何幫助表示讚賞。