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

Solutions on the web

via Stack Overflow by BArtWell
, 1 year ago
android.view.ViewRootImpl cannot be cast to android.view.View
java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View	at ru.myapp.package.HorizontalPersistentFocusWrapper.requestChildFocus(	at android.view.View.handleFocusGainInternal(	at android.view.ViewGroup.handleFocusGainInternal(	at android.view.View.requestFocusNoSearch(	at android.view.View.requestFocus(	at android.view.ViewGroup.requestFocus(	at android.view.View.requestFocus(	at	at	at	at android.view.ViewGroup.dispatchKeyEvent(	at android.view.ViewGroup.dispatchKeyEvent(