我已经在我的应用程序中完成了 facebook 集成,它对我来说工作正常。但是,当我单击清除凭据按钮,然后再次登录以共享应用程序崩溃并给出异常的内容时。以下是异常详细信息。我在谷歌上搜索但没有得到任何满意的答案。
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)
请帮助我找出为什么会出现这个异常以及如何解决这个问题。任何帮助表示赞赏。