Pattern selector

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

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

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myproject/com.myproject.activity.ManageCamerasActivity}: java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

Solution

Nwabunnia10 months ago

Create an empty public constructor in your code.

External results for this pattern (10)

  1. dayanithi06via GitHub5 hours 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
  2. voquanghoavia GitHub5 hours 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
  3. drayan85via GitHub13 hours 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
  4. vaisakh-wisilicavia GitHub14 hours ago
    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
  5. Javimayvia GitHub14 hours 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
  6. VeneetReddyKvia GitHub15 hours ago
    Unable to start activity ComponentInfo{com.pyramid.app/com.nguyenhoanglam.imagepicker.ui.imagepicker.ImagePickerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nguyenhoanglam.imagepicker.widget.ProgressWheel.setBarColor(int)' on a null object reference
    Show stack trace
  7. mikehardyvia GitHub17 hours ago
    Unable to start activity ComponentInfo{com.ichi2.anki/com.ichi2.anki.ModelFieldEditor}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
    Show stack trace
  8. njittamvia GitHub18 hours ago
    Unable to start activity ComponentInfo{com.umbrella.joti/com.umbrella.joti.MainActivity}: java.lang.RuntimeException: Parcel android.os.Parcel@9b132e1: Unmarshalling unknown type code 3211296 at offset 1052
    Show stack trace
  9. njittamvia GitHub18 hours ago
    Unable to start activity ComponentInfo{com.umbrella.joti/com.umbrella.joti.MainActivity}: java.lang.RuntimeException: Parcel android.os.Parcel@bae4448: Unmarshalling unknown type code 3735600 at offset 5100
    Show stack trace
  10. zhenchongvia GitHub18 hours ago
    Unable to start activity ComponentInfo{com.ryg.dynamicload.sample.mainhost/com.ryg.dynamicload.DLProxyActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.ryg.dynamicload.DLPlugin.onWindowAttributesChanged(android.view.WindowManager$LayoutParams)' on a null object reference
    Show stack trace