java.lang.RuntimeException: Unable to start activity ComponentInfo{tanav.sharma/tanav.sharma.TanavActivityOrder}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.String[]

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 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
, 11 months 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
, 8 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 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 GitHub by yihu5566
, 3 months ago
Unable to start activity ComponentInfo{com.scwang.refreshlayout/com.scwang.refreshlayout.activity.practice.WeiboPracticeActivity}: java.lang.ClassCastException: android.widget.ScrollView cannot be cast to android.support.v4.widget.NestedScrollView
via Stack Overflow by doomtrooper
, 11 months 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
java.lang.RuntimeException: Unable to start activity ComponentInfo{tanav.sharma/tanav.sharma.TanavActivityOrder}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.String[]
at tanav.sharma.TanavActivityOrder.onCreate(TanavActivityOrder.java:27)
at android.app.Activity.performCreate(Activity.java:6904)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)

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.