You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've had reports of our app failing to launch on a small number of android devices and Google Play Crash reports suggests it's caused by this module. The two devices are a Galaxy Rugby running Android 4.1 and a Samsung Galaxy Stratosphere2 also running 4.1.
Here's the stack trace:
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.teamworkpm.phone/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to android.text.Spannable
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:143)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4967)
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:1011)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to android.text.Spannable
at android.widget.TextView.setEnabled(TextView.java:1430)
at org.appcelerator.titanium.view.TiUIView.registerForTouch(TiUIView.java:1499)
at org.appcelerator.titanium.view.TiUIView.registerForTouch(TiUIView.java:1313)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:492)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)
at com.tripvi.drawerlayout.Drawer.processProperties(Drawer.java:310)
at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1185)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:500)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)
at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:670)
at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:564)
at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:232)
at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:32)
at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:442)
at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:524)
at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)
at android.app.Activity.performCreate(Activity.java:5160)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
... 11 more
The error seems to originate in the processProperties method and involves an attempt to cast a String as a android.text.Spannable
At the moment I can't reproduce this on a device I have access to so it's not easy to provide more info right now. Any thoughts on what could be causing this?
The text was updated successfully, but these errors were encountered:
We've had reports of our app failing to launch on a small number of android devices and Google Play Crash reports suggests it's caused by this module. The two devices are a Galaxy Rugby running Android 4.1 and a Samsung Galaxy Stratosphere2 also running 4.1.
Here's the stack trace:
The error seems to originate in the
processProperties
method and involves an attempt to cast aString
as aandroid.text.Spannable
At the moment I can't reproduce this on a device I have access to so it's not easy to provide more info right now. Any thoughts on what could be causing this?
The text was updated successfully, but these errors were encountered: