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 GitHub by niftynei
, 1 year ago
android.support.v7.widget.TintContextWrapper cannot be cast to com.zulip.android.activities.ZulipActivity
java.lang.ClassCastException: android.support.v7.widget.TintContextWrapper cannot be cast to com.zulip.android.activities.ZulipActivity	at com.zulip.android.util.ProfileSpan.onClick(ProfileSpan.java:43)	at android.text.method.LinkMovementMethod.onTouchEvent(LinkMovementMethod.java:217)	at android.widget.TextView.onTouchEvent(TextView.java:8325)	at android.view.View.dispatchTouchEvent(View.java:9300)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)	at android.app.Activity.dispatchTouchEvent(Activity.java:2771)	at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)	at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)	at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)	at android.view.View.dispatchPointerEvent(View.java:9520)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4238)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4104)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3703)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3669)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3795)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3677)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3852)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3703)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3669)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3677)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5932)