java.lang.RuntimeException

Unable to resume activity {com.example2.auto_home_project/com.example2.auto_home_project.Rooms}: java.lang.NullPointerException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web37617

  • via Stack Overflow by P.Deshmukh
    , 5 months ago
    Unable to resume activity {com.example2.auto_home_project/com.example2.auto_home_project.Rooms}: java.lang.NullPointerException
  • via Stack Overflow by Bartosz Bialecki
    , 1 year ago
    Unable to resume activity java.lang.NullPointerException
  • via opencv.org by Unknown author, 1 year ago
    Unable to resume activity java.lang.NullPointerException
  • Stack trace

    • java.lang.RuntimeException: Unable to resume activity {com.example2.auto_home_project/com.example2.auto_home_project.Rooms}: java.lang.NullPointerException at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2788) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2817) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.example2.auto_home_project.Rooms.onResume(Rooms.java:189) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192) at android.app.Activity.performResume(Activity.java:5310) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2778) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.