java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ishan.pushnotifications/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.HashMap

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 Ishan Singh, 9 months ago
Unable to start activity ComponentInfo{com.ishan.pushnotifications/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.HashMap
via Stack Overflow by user5425093
, 1 year ago
Unable to start activity ComponentInfo{tanav.sharma/tanav.sharma.TanavActivityOrder}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.String[]
via GitHub by mvysny
, 1 year ago
Unable to start activity ComponentInfo{sk.baka.aedict3/sk.baka.aedict3.ConfigActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via Stack Overflow by LanguageMaster
, 9 months ago
Unable to start activity ComponentInfo{com.example.pra1.savingdatasample/com.example.pra1.savingdatasample.MainActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
via Stack Overflow by doomtrooper
, 1 year ago
Unable to start activity ComponentInfo{com.abc.activities/com.abc.activities.activities.SplashActivity}: java.lang.ClassCastException: android.support.v7.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout
via Stack Overflow by Sean Kurian
, 4 months ago
Unable to start activity ComponentInfo{com.example.sean.cookappreal/com.example.sean.cookappreal.LoginActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.widget.TextView
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.HashMap
at ti.modules.titanium.ui.widget.TiUIText.processProperties(TiUIText.java:219)
at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1173)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:476)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:514)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:476)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:514)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:476)
at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:677)
at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:571)
at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:262)
at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)
at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:559)
at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:673)
at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)
at android.app.Activity.performCreate(Activity.java:6876)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
at android.app.ActivityThread.access$1100(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

You are the first who have seen this exception.

Write tip

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