Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ActivityThread.handleLaunchActivity() has thrown a RuntimeException
    Android
    2783
    1372
    3

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.digital.thefearstuff.tfsmusicplayer/com.digital.thefearstuff.tfsmusicplayer.NowPlaying}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2520)

Solution

Nwabunnia10 months ago

Create an empty public constructor in your code.

External results for this pattern (10)

  1. gcantonivia GitHub1 day ago
    Unable to start activity ComponentInfo{com.poweramp.blackred/com.poweramp.sampleskin.SkinInfoActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x50000
    Show stack trace
  2. ericbnvia GitHub1 day ago
    Unable to start activity ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
    Show stack trace
  3. wang727955603via GitHub1 day ago
    Unable to start activity ComponentInfo{com.yds.cameratest2/camera.CameraActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: ��������������
    Show stack trace
  4. Unable to start activity ComponentInfo{}: java.lang.RuntimeException: Parcelable encountered ClassNotFoundException reading a Serializable object (name = abc.sales.entity.Receipt)
    Show stack trace
  5. ajansvia GitHub1 day ago
    Unable to start activity ComponentInfo{de.pricepretzel.android/de.billiger.android.sparberater.activities.OfferListActivity}: io.objectbox.exception.DbException: Order: Unsupported type for property price_amount
    Show stack trace
  6. gerryguvia GitHub1 day ago
    Unable to start activity ComponentInfo{}: android.os.BadParcelableException: Parcelable protocol requires a Parcelable.Creator object called CREATOR on class com.localytics.android.InAppConfiguration
    Show stack trace
  7. indyman777via GitHub1 day ago
    Unable to start activity ComponentInfo{com.flavorburst.touchpanel/com.jaiselrahman.filepicker.activity.FilePickerActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #24: Error inflating class android.support.design.widget.AppBarLayout
    Show stack trace
  8. kcywekvia GitHub2 days ago
    Unable to start activity ComponentInfo{com.example.app/com.example.app.view.panicbutton.activity.PanicButtonActivity}: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.example.app.transformer.Transformer
    Show stack trace
  9. eddiellopezvia GitHub2 days ago
    Unable to start activity ComponentInfo{com.eddiellopez.dbflowtest/com.eddiellopez.dbflowtest.MainActivity}: android.database.sqlite.SQLiteException: near ",": syntax error (code 1): , while compiling: UPDATE `Pet` SET `person_name`=?,`person_lastName`=?,`name`=? WHERE `person_name`=?,`person_lastName`=? AND `name`=?
    Show stack trace
  10. stephanedupontvia GitHub2 days ago
    Unable to start activity ComponentInfo{com.[apppackagename]/com.twitter.sdk.android.core.identity.OAuthActivity}: java.lang.IllegalStateException: Must initialize Twitter before using getInstance()
    Show stack trace