android.view.WindowManager$BadTokenException -
i have strange issue. got crash report crashlyitics
. seems doesn't show line activity code. didn't know when error happened. please have idea when exception happened. possible scenario?
android.view.windowmanager$badtokenexception: unable add window -- token null not valid; activity running? @ android.view.viewrootimpl.setview(viewrootimpl.java:692) @ android.view.windowmanagerimpl.addview(windowmanagerimpl.java:345) @ android.view.windowmanagerimpl.addview(windowmanagerimpl.java:224) @ android.view.windowmanagerimpl$compatmodewrapper.addview(windowmanagerimpl.java:149) @ android.view.window$localwindowmanager.addview(window.java:556) @ android.widget.mediacontroller.show(mediacontroller.java:338) @ android.webkit.html5videofullscreen.showcontrollerinfullscreen(html5videofullscreen.java:386) @ android.webkit.html5videoviewproxy$videoplayer.end(html5videoviewproxy.java:311) @ android.webkit.html5videoviewproxy.handlemessage(html5videoviewproxy.java:432) @ android.os.handler.dispatchmessage(handler.java:99) @ android.os.looper.loop(looper.java:137) @ android.app.activitythread.main(activitythread.java:4895) @ java.lang.reflect.method.invokenative(method.java) @ java.lang.reflect.method.invoke(method.java:511) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:994) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:761) @ dalvik.system.nativestart.main(nativestart.java)
it seems, below line of code causes app crash generating , showing dialog window never dismiss / cancel when activity (screen) destroyed. please check whatever dialogs opening screen closed or dismiss before activity getting destroy.
at android.widget.mediacontroller.show(mediacontroller.java:338)
Comments
Post a Comment