java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.aakarshm.fun.MainActivity}: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Stack Overflow | NewToJava | 2 months ago
  1. 0

    JSOUP assigning image to view or text to field

    Stack Overflow | 2 months ago | NewToJava
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.aakarshm.fun.MainActivity}: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    Setting an Array that belongs to a fragment from the main activity

    Stack Overflow | 4 months ago | Paul S
    java.lang.RuntimeException: Unable to start activity ComponentInfo{pal.mplayercomeon/pal.mplayercomeon.MainActivity}: java.lang.IllegalArgumentException: No view found for id 0x7f0c0074 (pal.mplayercomeon:id/music_list_fragment) for fragment MusicList{ee972d3 #0 id=0x7f0c0074}
  3. 0

    MapboxAccountManager not checking permission correctly onResume

    GitHub | 4 months ago | cammace
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.basics.SimpleMapViewActivity}: com.mapbox.mapboxsdk.exceptions.MapboxAccountManagerNotStartedException: MapboxAccountManager was not started correctly. Use MapboxAccountManager#start(Context, String) to initialise. More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't find ColorStateList from drawable resource ID only on Android Nougat

    Stack Overflow | 4 months ago | Whiz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.domain/com.my.domain.activities.MainActivity}: android.content.res.Resources$NotFoundException: Can't find ColorStateList from drawable resource ID #0x7f020057
  6. 0

    Error inflating class fr.ganfra.materialspinner.MaterialSpinner

    GitHub | 3 months ago | drayan85
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sample/com.sample.NewDiscussionActivity}: android.view.InflateException: Binary XML file line #187: Binary XML file line #187: Error inflating class fr.ganfra.materialspinner.MaterialSpinner

  1. Riyaz 2 times, last 6 days ago
  2. malhobayyeb 9 times, last 2 weeks ago
  3. bluebunnty 11 times, last 3 weeks ago
  4. Aria Pahlavan 1045 times, last 2 weeks ago
  5. Alexandru Popa 12 times, last 3 weeks ago
39 more registered users
7 unregistered visitors
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.RuntimeException

    Unable to start activity ComponentInfo{com.example.aakarshm.fun.MainActivity}: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
    2 frames