java.lang.RuntimeException: Unable to start activity ComponentInfo{aarddict.android/aarddict.android.ArticleViewActivity}: java.lang.ClassCastException: java.util.ArrayList

GitHub | itkach | 6 years 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

    Error inflating xml layout file

    Stack Overflow | 5 years ago | AliDeV
    java.lang.RuntimeException: Unable to start activity ComponentInfo{aarddict.alidev.android/aarddict.alidev.android.ArticleViewActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class aarddict.android.ArticleView
  2. 0

    Application crashes when restoring article view state

    GitHub | 6 years ago | itkach
    java.lang.RuntimeException: Unable to start activity ComponentInfo{aarddict.android/aarddict.android.ArticleViewActivity}: java.lang.ClassCastException: java.util.ArrayList
  3. 0

    Android add a pull to refresh function to a merge adapter

    Stack Overflow | 5 years ago | Luke Batley
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.HomeActivity}: java.lang.ClassCastException: android.widget.ListView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    application crashed on orientation change

    Stack Overflow | 4 years ago | user1778855
    java.lang.RuntimeException: Unable to start activity ComponentInfo{..../....Music}: java.lang.NullPointerException
  6. 0

    Android OS kills root activity, on reload, tries to reload root and top level activity. Is there a way to stop this behavior?

    Stack Overflow | 5 years ago | Dave Haupert
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ddhsoftware.android.handbase/com.ddhsoftware.android.handbase.ListViewScreen}: java.lang.NullPointerException

    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.util.ArrayList

      at aarddict.android.ArticleViewActivity.onRestoreInstanceState()
    2. aarddict.android
      ArticleViewActivity.onRestoreInstanceState
      1. aarddict.android.ArticleViewActivity.onRestoreInstanceState(ArticleViewActivity.java:790)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performRestoreInstanceState(Activity.java:816)
      2. android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1096)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1625)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
      5. android.app.ActivityThread.access$1500(ActivityThread.java:117)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:130)
      9. android.app.ActivityThread.main(ActivityThread.java:3683)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame