java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40ced140 does not exist

Apereo Issues | Jeff Cross | 5 years ago
  1. 0

    Known issue with Titanium, with open ticket. Will experiment with workarounds: Ticket: http://jira.appcelerator.org/browse/TIMOB-4357 QA: http://developer.appcelerator.com/question/120635/android-webview-crashes----theyre-not-your-fault Log with stack trace: 06-28 10:45:55.856: DEBUG/TiAPI(6128): (kroll$1: app://app.js) [4226,470912] onPortletLoad() in PortletWindowController, index: 0 06-28 10:45:55.856: DEBUG/TiAPI(6128): (kroll$1: app://app.js) [0,470912] Visiting a portal link 06-28 10:45:55.956: DEBUG/TiAPI(6128): (kroll$1: app://app.js) [100,471012] onSessionActivity() in SessionProxy 06-28 10:45:55.956: DEBUG/TiAPI(6128): (kroll$1: app://app.js) [1,471013] Resetting Webview session 06-28 10:45:55.966: INFO/TiAPI(6128): (kroll$1: app://app.js) [1,471014] Reset the timer for: Webview & timer= 7200000 06-28 10:45:55.966: DEBUG/TiAPI(6128): (kroll$1: app://app.js) [1,471015] counter variable defined, clearing timeout 06-28 10:45:57.387: WARN/WindowManager(169): Failed looking up window 06-28 10:45:57.387: WARN/WindowManager(169): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40ced140 does not exist 06-28 10:45:57.387: WARN/WindowManager(169): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8177) 06-28 10:45:57.387: WARN/WindowManager(169): at com.android.server.WindowManagerService.addWindow(WindowManagerService.java:1813) 06-28 10:45:57.387: WARN/WindowManager(169): at com.android.server.WindowManagerService$Session.add(WindowManagerService.java:5660) 06-28 10:45:57.387: WARN/WindowManager(169): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:68) 06-28 10:45:57.387: WARN/WindowManager(169): at com.android.server.WindowManagerService$Session.onTransact(WindowManagerService.java:5632) 06-28 10:45:57.387: WARN/WindowManager(169): at android.os.Binder.execTransact(Binder.java:320) 06-28 10:45:57.387: WARN/WindowManager(169): at dalvik.system.NativeStart.run(Native Method) 06-28 10:45:57.387: WARN/WindowManager(169): Attempted to add window with token that is not a window: android.os.BinderProxy@40ced140. Aborting. 06-28 10:45:57.397: DEBUG/AndroidRuntime(6128): Shutting down VM 06-28 10:45:57.397: WARN/dalvikvm(6128): threadid=1: thread exiting with uncaught exception (group=0x402c6560) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): (main) [1431,472446] Sending event: exception on thread: main msg:android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRoot$W@40a8f0f0 is not valid; is your activity running?; Titanium 1.7.0,2011/05/17 23:06,41eefd... 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRoot$W@40a8f0f0 is not valid; is your activity running? 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewRoot.setView(ViewRoot.java:527) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.Window$LocalWindowManager.addView(Window.java:465) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.widget.ZoomButtonsController.setVisible(ZoomButtonsController.java:370) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.webkit.WebView.startDrag(WebView.java:5624) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.webkit.WebView.onTouchEvent(WebView.java:5355) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.View.dispatchTouchEvent(View.java:3901) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:903) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1714) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1130) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.app.Activity.dispatchTouchEvent(Activity.java:2096) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1698) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2195) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.view.ViewRoot.handleMessage(ViewRoot.java:1879) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.os.Handler.dispatchMessage(Handler.java:99) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.os.Looper.loop(Looper.java:123) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at android.app.ActivityThread.main(ActivityThread.java:3835) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at java.lang.reflect.Method.invokeNative(Native Method) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at java.lang.reflect.Method.invoke(Method.java:507) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 06-28 10:45:57.397: ERROR/TiUncaughtHandler(6128): at dalvik.system.NativeStart.main(Native Method) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): FATAL EXCEPTION: main 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRoot$W@40a8f0f0 is not valid; is your activity running? 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewRoot.setView(ViewRoot.java:527) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.Window$LocalWindowManager.addView(Window.java:465) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.widget.ZoomButtonsController.setVisible(ZoomButtonsController.java:370) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.webkit.WebView.startDrag(WebView.java:5624) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.webkit.WebView.onTouchEvent(WebView.java:5355) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.View.dispatchTouchEvent(View.java:3901) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:903) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:942) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1714) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1130) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.app.Activity.dispatchTouchEvent(Activity.java:2096) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1698) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2195) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.view.ViewRoot.handleMessage(ViewRoot.java:1879) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.os.Handler.dispatchMessage(Handler.java:99) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.os.Looper.loop(Looper.java:123) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at android.app.ActivityThread.main(ActivityThread.java:3835) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at java.lang.reflect.Method.invokeNative(Native Method) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at java.lang.reflect.Method.invoke(Method.java:507) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 06-28 10:45:57.407: ERROR/AndroidRuntime(6128): at dalvik.system.NativeStart.main(Native Method) 06-28 10:45:57.417: WARN/ActivityManager(169): Force finishing activity org.jasig.portal.mobile.app/org.appcelerator.titanium.TiActivity 06-28 10:45:57.918: WARN/ActivityManager(169): Activity pause timeout for HistoryRecord{40a3d368 org.jasig.portal.mobile.app/org.appcelerator.titanium.TiActivity} 06-28 10:45:59.920: INFO/TelephonyRegistry(169): notifyServiceState: 0 home Sprint Sprint 31000 EvDo rev. A CSS supported 2 4170RoamInd: 128DefRoamInd: 1EmergOnly: false 06-28 10:46:02.452: INFO/InputDispatcher(169): Application is not responding: Window{40bf7858 org.jasig.portal.mobile.app/org.appcelerator.titanium.TiActivity paused=false}. 5004.3ms since event, 5004.2ms since wait started

    Apereo Issues | 5 years ago | Jeff Cross
    java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40ced140 does not exist
  2. 0

    Activity restarts on Force Close - Android - Android Puzzles(Questions & Answers)

    phonesdevelopers.com | 1 year ago
    java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40c774e0 does not exist
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Application force close on low-end device while playing - Gideros Forum

    giderosmobile.com | 1 year ago
    java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@41341678 does not exist
  5. 0

    [SOLVED] Dalvik debug errors - Android Export Module - GameMaker Community

    yoyogames.com | 12 months ago
    java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@41a812d0 does not exist

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Requested window android.os.BinderProxy@40ced140 does not exist

      at com.android.server.WindowManagerService.windowForClientLocked()
    2. Android
      WindowManagerService$Session.add
      1. com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8177)
      2. com.android.server.WindowManagerService.addWindow(WindowManagerService.java:1813)
      3. com.android.server.WindowManagerService$Session.add(WindowManagerService.java:5660)
      3 frames
    3. Android Platform
      IWindowSession$Stub.onTransact
      1. android.view.IWindowSession$Stub.onTransact(IWindowSession.java:68)
      1 frame
    4. Android
      WindowManagerService$Session.onTransact
      1. com.android.server.WindowManagerService$Session.onTransact(WindowManagerService.java:5632)
      1 frame
    5. Android Platform
      NativeStart.run
      1. android.os.Binder.execTransact(Binder.java:320)
      2. dalvik.system.NativeStart.run(Native Method)
      2 frames