[android-developers] Mysterious crash with Android Monkey
I am testing my app with Android Monkey and after a while it crashes.
Does anyone have a clue? Here is the log excerpt:
.....
W/WindowManager( 1103): Failed looking up window
W/WindowManager( 1103): java.lang.IllegalArgumentException: Requested
window null does not exist
W/WindowManager( 1103): at
com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:
9293)
W/WindowManager( 1103): at
com.android.server.WindowManagerService.addWindow(WindowManagerService.java:
1891)
W/WindowManager( 1103): at com.android.server.WindowManagerService
$Session.add(WindowManagerService.java:6771)
W/WindowManager( 1103): at android.view.IWindowSession
$Stub.onTransact(IWindowSession.java:66)
W/WindowManager( 1103): at com.android.server.WindowManagerService
$Session.onTransact(WindowManagerService.java:6743)
W/WindowManager( 1103): at android.os.Binder.execTransact(Binder.java:
288)
W/WindowManager( 1103): at dalvik.system.NativeStart.run(Native
Method)
W/WindowManager( 1103): Attempted to add window with token that is not
a window: null. Aborting.
D/AndroidRuntime(10324): Shutting down VM
W/dalvikvm(10324): threadid=1: thread exiting with uncaught exception
(group=0x4001d7e0)
E/AndroidRuntime(10324): FATAL EXCEPTION: main
E/AndroidRuntime(10324): android.view.WindowManager$BadTokenException:
Unable to add window -- token null is not valid; is your activity
running?
E/AndroidRuntime(10324): at
android.view.ViewRoot.setView(ViewRoot.java:505)
E/AndroidRuntime(10324): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
E/AndroidRuntime(10324): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
E/AndroidRuntime(10324): at
android.widget.PopupWindow.invokePopup(PopupWindow.java:828)
E/AndroidRuntime(10324): at
android.widget.PopupWindow.showAtLocation(PopupWindow.java:688)
E/AndroidRuntime(10324): at
android.inputmethodservice.KeyboardView.showKey(KeyboardView.java:941)
E/AndroidRuntime(10324): at
android.inputmethodservice.KeyboardView.access$100(KeyboardView.java:
65)
E/AndroidRuntime(10324): at android.inputmethodservice.KeyboardView
$1.handleMessage(KeyboardView.java:251)
E/AndroidRuntime(10324): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10324): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10324): at
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(10324): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(10324): at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(10324): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(10324): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(10324): at dalvik.system.NativeStart.main(Native
Method)
...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home