Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Create an empty public constructor in your code.

Solutions on the web

via GitHub by cagryInside
, 1 year ago
Unable to resume activity {com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.PreferencesActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String org.onebusaway.android.io.elements.ObaRegion.getOtpBaseUrl()' on a null object reference
via Stack Overflow by Ronan
, 3 months ago
Unable to resume activity {com.example.mchapagai/com.example.activity.MoviesActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'io.reactivex.Observable com.example.viewmodel.MovieViewModel.discoverMovies(java.lang.String)' on a null object reference
via GitHub by rancidfrog
, 8 months ago
Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
via Stack Overflow by Hugo
, 5 months ago
Unable to resume activity {gitrepopop/gitrepopop.MVP.Main.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void gitrepopop.MVP.Repositorie.IRepositoriePopMVPView.onShowProgress(java.lang.String)' on a null object reference
via Stack Overflow by zainab .a.k
, 1 year ago
Unable to resume activity {com.example.myapplication/com.example.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
via GitHub by boswelja
, 10 months ago
Unable to resume activity {com.mnml.music.test/com.mnml.music.ui.activity.AboutActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
java.lang.RuntimeException: Unable to resume activity {com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.PreferencesActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String org.onebusaway.android.io.elements.ObaRegion.getOtpBaseUrl()' on a null object reference	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3103)	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)