0 --------- beginning of /dev/log/main
1 03-21 13:33:52.821 D/dalvikvm( 2452): Late-enabling CheckJNI
2 03-21 13:33:53.009 D/ACRA ( 2452): ACRA is enabled for org.soundbounce.soundbounce, intializing...
3 03-21 13:33:53.031 D/ACRA ( 2452): Looking for error files in /data/data/org.soundbounce.soundbounce/files
4 03-21 13:33:53.032 D/ACRA ( 2452): Looking for error files in /data/data/org.soundbounce.soundbounce/files
5 03-21 13:33:53.056 V/SB.MainActivity( 2452): In method: onCreate, called by: performCreate
6 03-21 13:33:53.081 D/dalvikvm( 2452): Trying to load lib /data/app-lib/org.soundbounce.soundbounce-1/libxwalkcore.so 0x41f507e8
7 03-21 13:33:53.172 D/dalvikvm( 2452): Added shared lib /data/app-lib/org.soundbounce.soundbounce-1/libxwalkcore.so 0x41f507e8
8 03-21 13:33:53.194 I/LibraryLoader( 2452): Time to load native libraries: 115 ms (timestamps 834-949)
9 03-21 13:33:53.194 I/LibraryLoader( 2452): Expected native library version number \"\",actual native library version number \"\"
10 03-21 13:33:53.236 I/LibraryLoader( 2452): Expected native library version number \"\",actual native library version number \"\"
11 03-21 13:33:53.236 I/chromium( 2452): [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
12 03-21 13:33:53.298 I/BrowserStartupController( 2452): Initializing chromium process, singleProcess=true
13 03-21 13:33:53.408 W/AudioManagerAndroid( 2452): Requires BLUETOOTH permission
14 03-21 13:33:53.409 I/Adreno-EGL( 2452): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018_msm8226_LNX.LA.3.5.1_RB1__release_AU ()
15 03-21 13:33:53.409 I/Adreno-EGL( 2452): OpenGL ES Shader Compiler Version: E031.24.00.08
16 03-21 13:33:53.409 I/Adreno-EGL( 2452): Build Date: 03/07/14 Fri
17 03-21 13:33:53.409 I/Adreno-EGL( 2452): Local Branch:
18 03-21 13:33:53.409 I/Adreno-EGL( 2452): Remote Branch: quic/LNX.LA.3.5.1_RB1.1
19 03-21 13:33:53.409 I/Adreno-EGL( 2452): Local Patches: NONE
20 03-21 13:33:53.409 I/Adreno-EGL( 2452): Reconstruct Branch: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018 + f2fd134 + NOTHING
21 03-21 13:33:53.475 W/chromium( 2452): [WARNING:proxy_service.cc(899)] PAC support disabled because there is no system implementation
22 03-21 13:33:53.495 W/dalvikvm( 2452): VFY: unable to find class referenced in signature (Landroid/view/inputmethod/CursorAnchorInfo;)
23 03-21 13:33:53.495 I/dalvikvm( 2452): Could not find method android.view.inputmethod.InputMethodManager.updateCursorAnchorInfo, referenced from method org.chromium.content.browser.input.InputMethodManagerWrapper.updateCursorAnchorInfo
24 03-21 13:33:53.495 W/dalvikvm( 2452): VFY: unable to resolve virtual method 12789: Landroid/view/inputmethod/InputMethodManager;.updateCursorAnchorInfo (Landroid/view/View;Landroid/view/inputmethod/CursorAnchorInfo;)V
25 03-21 13:33:53.495 D/dalvikvm( 2452): VFY: replacing opcode 0x6e at 0x000a
26 03-21 13:33:53.520 E/chromium( 2452): [ERROR:unix_domain_server_socket_posix.cc(106)] Not implemented reached in virtual int net::UnixDomainServerSocket::GetLocalAddress(net::IPEndPoint*) const
27 03-21 13:33:53.623 V/SB.MainActivity( 2452): In method: getJavaScriptInterface, called by: onCreate
28 03-21 13:33:53.624 V/SB.MainActivity( 2452): In method: getJavaScriptInterface, called by: onCreate
29 03-21 13:33:53.671 I/chromium( 2452): [INFO:xwalk_extension_renderer_controller.cc(47)] EXTENSION PROCESS DISABLED.
30 03-21 13:33:53.766 D/OpenGLRenderer( 2452): Enabling debug mode 0
31 03-21 13:33:53.899 V/SB.CustomXWalkResourceClient( 2452): In method: shouldOverrideUrlLoading, called by: invokeNative
32 03-21 13:33:53.905 V/SB.CustomUIClient( 2452): In method: onPageLoadStarted, called by: invokeNative
33 03-21 13:33:53.905 I/SB.CustomUIClient( 2452): Page load started for url: http://app.soundbounce.org/login.html started by: org.soundbounce.soundbounce.helpers.CustomXWalkUIClient.onPageLoadStarted, java.lang.reflect.Method.invokeNative, java.lang.reflect.Method.invoke
34 03-21 13:33:54.151 W/BindingManager( 2452): Cannot call determinedVisibility() - never saw a connection for the pid: 2452
35 03-21 13:33:55.557 V/SB.CustomUIClient( 2452): In method: onPageLoadStopped, called by: invokeNative
36 03-21 13:33:55.557 I/SB.CustomUIClient( 2452): Page load finished for url: http://app.soundbounce.org/login.html started by: org.soundbounce.soundbounce.helpers.CustomXWalkUIClient.onPageLoadStopped, java.lang.reflect.Method.invokeNative, java.lang.reflect.Method.invoke
37 03-21 13:33:55.557 V/SB.CustomXWalkResourceClient( 2452): In method: onLoadFinished, called by: invokeNative
38 03-21 13:34:13.532 V/WebViewChromiumFactoryProvider( 2452): Binding Chromium to main looper Looper (main, tid 1) {41f4b7f8}
39 03-21 13:34:13.533 I/LibraryLoader( 2452): Expected native library version number \"\",actual native library version number \"\"
40 03-21 13:34:13.534 I/chromium( 2452): [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
41 03-21 13:34:13.534 I/BrowserStartupController( 2452): Initializing chromium process, renderers=0
42 03-21 13:34:13.546 E/AudioManagerAndroid( 2452): BLUETOOTH permission is missing!
43 03-21 13:34:13.598 W/chromium( 2452): [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
44 03-21 13:34:14.013 I/chromium( 2452): [INFO:simple_index_file.cc(437)] Simple Cache Index is being restored from disk.
45 03-21 13:34:14.086 W/InputEventReceiver( 2452): Attempted to finish an input event but the input event receiver has already been disposed.
46 03-21 13:34:14.114 D/SB.MainActivity( 2452): Spotify Authentication response type was not token, it was: empty
47 03-21 13:34:15.387 D/AndroidRuntime( 2452): Shutting down VM
48 03-21 13:34:15.387 W/dalvikvm( 2452): threadid=1: thread exiting with uncaught exception (group=0x4167dd40)
49 03-21 13:34:15.399 E/ACRA ( 2452): ACRA caught a BadTokenException for org.soundbounce.soundbounce
50 03-21 13:34:15.399 E/ACRA ( 2452): android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@420f1dd8 is not valid; is your activity running?
51 03-21 13:34:15.399 E/ACRA ( 2452): at android.view.ViewRootImpl.setView(ViewRootImpl.java:550)
52 03-21 13:34:15.399 E/ACRA ( 2452): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:259)
53 03-21 13:34:15.399 E/ACRA ( 2452): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
54 03-21 13:34:15.399 E/ACRA ( 2452): at android.app.Dialog.show(Dialog.java:286)
55 03-21 13:34:15.399 E/ACRA ( 2452): at com.spotify.sdk.android.authentication.LoginDialog$2.onPageStarted(LoginDialog.java:144)
56 03-21 13:34:15.399 E/ACRA ( 2452): at com.android.webview.chromium.WebViewContentsClientAdapter.onPageStarted(WebViewContentsClientAdapter.java:444)
57 03-21 13:34:15.399 E/ACRA ( 2452): at com.android.org.chromium.android_webview.AwContentsClientCallbackHelper$MyHandler.handleMessage(AwContentsClientCallbackHelper.java:104)
58 03-21 13:34:15.399 E/ACRA ( 2452): at android.os.Handler.dispatchMessage(Handler.java:102)
59 03-21 13:34:15.399 E/ACRA ( 2452): at android.os.Looper.loop(Looper.java:136)
60 03-21 13:34:15.399 E/ACRA ( 2452): at android.app.ActivityThread.main(ActivityThread.java:5086)
61 03-21 13:34:15.399 E/ACRA ( 2452): at java.lang.reflect.Method.invokeNative(Native Method)
62 03-21 13:34:15.399 E/ACRA ( 2452): at java.lang.reflect.Method.invoke(Method.java:515)
63 03-21 13:34:15.399 E/ACRA ( 2452): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
64 03-21 13:34:15.399 E/ACRA ( 2452): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
65 03-21 13:34:15.399 E/ACRA ( 2452): at dalvik.system.NativeStart.main(Native Method)
66 03-21 13:34:15.399 D/ACRA ( 2452): Building report
67 03-21 13:34:15.421 D/ACRA ( 2452): Using custom Report Fields
68 03-21 13:34:15.710 I/ACRA ( 2452): READ_LOGS granted! ACRA can include LogCat and DropBox data.
69 03-21 13:34:15.769 D/ACRA ( 2452): Retrieving logcat output...
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10284601-android-crash-windowmanager-badtokenexception-unable-to-add-window?utm_campaign=plugin&utm_content=tracker%2F9578624&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9578624&utm_medium=issues&utm_source=github).
This crash report was actually me, though at the time I did nothing unusual to cause it. By the looks of things this is caused by me using a bad pattern and easily resolved, although likely difficult to reproduce in the first place; http://stackoverflow.com/questions/18662239/android-view-windowmanagerbadtokenexception-unable-to-add-window-on-buider-s?answertab=votes#tab-top