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 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Passing ArrayList<String> from ActivityA to ActivityB

    Stack Overflow | 6 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[]
  2. 0

    Android - Change LinearLayout visibility automatically after radio button is checked

    Stack Overflow | 5 years ago | Hend
    java.lang.ClassCastException: android.widget.LinearLayout
  3. 0

    Running multiple applications on a shared process with a shared project library

    Stack Overflow | 5 years ago | Angelo
    java.lang.ClassCastException: xper.common.CommonView cannot be cast to xper.common.CommonView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Application doesn't run due to ClassCastException

    Stack Overflow | 4 years ago | Elson Tan
    java.lang.ClassCastException: android.widget.LinearLayout
  6. 0

    Volley POST not working ClassCastException

    Stack Overflow | 2 years ago
    java.lang.ClassCastException: com.example.piyu004.volleycommunication.MainActivity cannot be cast to android.app.Activity at android.app.Instrumentation.newActivity(Instrumentation.java:1061)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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