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[]

Stack Overflow | user5425093 | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Passing ArrayList<String> from ActivityA to ActivityB

    Stack Overflow | 5 months ago | user5425093
    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[]

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.lang.String[]

      at tanav.sharma.TanavActivityOrder.onCreate()
    2. tanav.sharma
      TanavActivityOrder.onCreate
      1. tanav.sharma.TanavActivityOrder.onCreate(TanavActivityOrder.java:27)
      1 frame
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6904)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3266)
      3 frames