Pattern selector

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

  1. ActivityThread.handleLaunchActivity() has thrown a RuntimeException
    Android
    2784
    1378
    3

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.RuntimeException: Unable to start activity ComponentInfo{io.victoralbertos.app/rx_activity_result.HolderActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'rx_activity_result.OnResult rx_activity_result.Request.onResult()' on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2625)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2686)

Solution

Nwabunnia10 months ago

Create an empty public constructor in your code.

External results for this pattern (10)

  1. jiegege10via GitHub20 hours ago
    Unable to start activity ComponentInfo{xxxxxx/xxxxxx.MainActivity}: android.os.BadParcelableException: Parcelable protocol requires the CREATOR object to be static on class wanqi.rental.com.view.RangeSeekBar$SavedState
    Show stack trace
  2. gogocomingvia GitHub1 day ago
    Unable to start activity ComponentInfo{com.example.nanke.joke/com.example.nanke.joke.MainActivity}: java.lang.ClassCastException: com.example.nanke.joke.MainActivity$2 cannot be cast to io.reactivex.functions.Consumer
    Show stack trace
  3. Danny-Jamesvia GitHub1 day ago
    Unable to start activity ComponentInfo{uk.co.ainscough.routeinfo/uk.co.ainscough.routeinfo.ActivityNavigation}: android.view.InflateException: Binary XML file line #9: Error inflating class com.mapbox.services.android.navigation.ui.v5.NavigationView
    Show stack trace
  4. adamvarhegyivia GitHub1 day ago
    Unable to start activity ComponentInfo{com.illion.dotodo.application.sender/com.thrivecom.ringcaptcha.OnboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
    Show stack trace
  5. MisterYvia GitHub1 day ago
    Unable to start activity ComponentInfo{com.money.manager.ex.debug/com.money.manager.ex.about.AboutActivity}: android.view.InflateException: Binary XML file line #26: Binary XML file line #26: Error inflating class com.astuetz.PagerSlidingTabStrip
    Show stack trace
  6. dayanithi06via GitHub1 day ago
    Unable to start activity ComponentInfo{com.dayanithi.supercamping/com.dayanithi.supercamping.activities.admin.AdminLoginClass}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
    Show stack trace
  7. voquanghoavia GitHub1 day ago
    Unable to start activity ComponentInfo{quanghoa.com.mailman/quanghoa.com.mailman.LoginActivity}: java.lang.IllegalStateException: Required view 'masked' with ID 2131230831 for method 'login' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
    Show stack trace
  8. drayan85via GitHub2 days ago
    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
    Show stack trace
  9. Unable to start activity ComponentInfo{com.routeyou.startup/com.routeyou.ui.DownloadRouteActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.akexorcist.roundcornerprogressbar.common.BaseRoundCornerProgressBar$SavedState
    Show stack trace
  10. Javimayvia GitHub2 days ago
    Unable to start activity ComponentInfo{co.qoopa.lupaap/com.microblink.activity.BarcodeScanActivity}: com.microblink.recognition.InvalidLicenceKeyException: Please set valid license key before creating RecognizerRunnerView
    Show stack trace