java.lang.RuntimeException: Unable to start activity ComponentInfo{chase_crawford_69001.ltoj/chase_crawford_69001.ltoj.Finished}: java.lang.ClassCastException: java.lang.String cannot be cast to chase_crawford_69001.ltoj.Word

Stack Overflow | ChaseC | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting custom class from ArrayList

    Stack Overflow | 5 months ago | ChaseC
    java.lang.RuntimeException: Unable to start activity ComponentInfo{chase_crawford_69001.ltoj/chase_crawford_69001.ltoj.Finished}: java.lang.ClassCastException: java.lang.String cannot be cast to chase_crawford_69001.ltoj.Word

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to chase_crawford_69001.ltoj.Word

      at chase_crawford_69001.ltoj.Finished.missedWords()
    2. chase_crawford_69001.ltoj
      Finished.onCreate
      1. chase_crawford_69001.ltoj.Finished.missedWords(Finished.java:30)
      2. chase_crawford_69001.ltoj.Finished.onCreate(Finished.java:25)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5008)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2044)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2105)
      5. android.app.ActivityThread.access$600(ActivityThread.java:133)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4795)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame