java.lang.RuntimeException: Adding window failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.RuntimeException: Adding window failed
at android.os.BinderProxy.transact(Native Method)
at android.view.IWindowSession$Stub$Proxy.add(
at android.view.ViewRootImpl.setView(
at android.view.WindowManagerImpl.addView(
at android.view.WindowManagerImpl.addView(
at android.view.WindowManagerImpl$CompatModeWrapper.addView(
at android.view.Window$LocalWindowManager.addView(
at anywheresoftware.b4a.Msgbox.msgbox(
at anywheresoftware.b4a.BA.raiseEvent2(
at anywheresoftware.b4a.BA$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
13 times, 1 month ago
2 times, 2 months ago
Once, 4 months ago
1066 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.