java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View at ru.myapp.package.HorizontalPersistentFocusWrapper.requestChildFocus(HorizontalPersistentFocusWrapper.java:108) at android.view.View.handleFocusGainInternal(View.java:5465) at android.view.ViewGroup.handleFocusGainInternal(ViewGroup.java:714) at android.view.View.requestFocusNoSearch(View.java:8470) at android.view.View.requestFocus(View.java:8449) at android.view.ViewGroup.requestFocus(ViewGroup.java:2747) at android.view.View.requestFocus(View.java:8416) at android.support.v4.widget.NestedScrollView.arrowScroll(NestedScrollView.java:1222) at android.support.v4.widget.NestedScrollView.executeKeyEvent(NestedScrollView.java:551) at android.support.v4.widget.NestedScrollView.dispatchKeyEvent(NestedScrollView.java:512) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640)
    No Bugmate found.