java.lang.ClassCastException: java.lang.String cannot be cast to android.text.Spannable

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 Appcelerator JIRA by Andrew Greenstreet, 1 year ago
java.lang.String cannot be cast to android.text.Spannable
via Appcelerator JIRA by Andrew Greenstreet, 1 year ago
java.lang.String cannot be cast to android.text.Spannable
via Stack Overflow by user1857437
, 2 years ago
java.lang.String cannot be cast to android.text.Spannable
via Stack Overflow by user1857437
, 2 years ago
java.lang.String cannot be cast to android.text.Spannable
via GitHub by battlebottle
, 2 years ago
java.lang.String cannot be cast to android.text.Spannable
java.lang.ClassCastException: java.lang.String cannot be cast to android.text.Spannable
at android.widget.TextView.setEnabled(TextView.java:1432)
at org.appcelerator.titanium.view.TiUIView.registerForTouch(TiUIView.java:1457)
at org.appcelerator.titanium.view.TiUIView.registerForTouch(TiUIView.java:1271)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:472)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:449)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:487)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:471)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:449)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:487)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:471)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:449)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:487)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:471)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:449)
at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:566)
at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:218)
at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:100)
at ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:443)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4962)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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