Quantcast
Viewing all articles
Browse latest Browse all 49219

Black screen of death after resuming app

@FilipMatys wrote:

Greetings,

Having problem with our app going black after resuming. After debugging through logcat, we found out, that the app crashes with following exception:

W/WindowManager( 1625): Failed looking up window
W/WindowManager( 1625): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@22e5553 does not exist
W/WindowManager( 1625):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8612)
W/WindowManager( 1625):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8603)
W/WindowManager( 1625):         at com.android.server.wm.WindowManagerService.relayoutWindow(WindowManagerService.java:3036)
W/WindowManager( 1625):         at com.android.server.wm.Session.relayout(Session.java:197)
W/WindowManager( 1625):         at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:273)
W/WindowManager( 1625):         at com.android.server.wm.Session.onTransact(Session.java:130)
W/WindowManager( 1625):         at android.os.Binder.execTransact(Binder.java:446)
W/WindowManager( 1625): Failed looking up window
W/WindowManager( 1625): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@22e5553 does not exist
W/WindowManager( 1625):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8612)
W/WindowManager( 1625):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8603)
W/WindowManager( 1625):         at com.android.server.wm.WindowManagerService.performDeferredDestroyWindow(WindowManagerService.java:3346)
W/WindowManager( 1625):         at com.android.server.wm.Session.performDeferredDestroy(Session.java:207)
W/WindowManager( 1625):         at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:332)
W/WindowManager( 1625):         at com.android.server.wm.Session.onTransact(Session.java:130)
W/WindowManager( 1625):         at android.os.Binder.execTransact(Binder.java:446)

The crash sometimes happens after the app is minimalized. Searched the internet, but found no way to fix it. This only happens on P2000L device with Android 5.1.1. Other Android devices we tried dont seem to suffer this.

I believe it has something to do with application lifecycle, but I have no idea how to solve it. Tried using Background mode as a workaround, but right before the exception it says the mode is disabled:

D/CordovaActivity(10826): Started the activity.
D/CordovaActivity(10826): Resumed the activity.
D/CordovaWebViewImpl(10826): >>> loadUrl(javascript:cordova.plugins.backgroundMode._isActive=false;cordova.plugins.backgroundMode.fireEvent('deactivate',null);cordova.plugins.backgroundMode.ondeactivate(null);)

Thank You all in advance
Filip

EDIT: Forgot to mention I am also using Crosswalk plugin.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49219

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>