java.lang.RuntimeException: Unable to stop activity {be.ulb.owl/be.ulb.owl.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.interrupt()' on a null object reference

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

Solutions on the web

via GitHub by detobel36
, 7 months ago
Unable to stop activity {be.ulb.owl/be.ulb.owl.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.interrupt()' on a null object reference
via nymi.com by Unknown author, 1 year ago
Unable to stop activity {com.rbcai.nymiauth/com.rbcai.nymiauth.Nymi}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.bluetooth.BluetoothGatt.disconnect()' on a null object reference
via GitHub by beaucollins
, 11 months ago
Unable to stop activity {com.android.quicksearchbox/com.android.quicksearchbox.SearchActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.android.quicksearchbox.SourceResult com.android.quicksearchbox.Suggestions.getResult()' on a null object reference
via GitHub by dmsherazi
, 1 year ago
Unable to stop activity {net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.eclipse.paho.client.mqttv3.IMqttToken.setActionCallback(org.eclipse.paho.client.mqttv3.IMqttActionListener)' on a null object reference
via GitHub by dmsherazi
, 1 year ago
Unable to stop activity {net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.eclipse.paho.client.mqttv3.IMqttToken.setActionCallback(org.eclipse.paho.client.mqttv3.IMqttActionListener)' on a null object reference
via GitHub by semenoh
, 2 years ago
Unable to stop activity {com.hackvg.android/com.hackvg.android.views.activities.MoviesActivity}: java.lang.IllegalArgumentException: Missing event handler for an annotated method. Is class com.hackvg.android.mvp.presenters.PopularShowsPresenterImpl registered?
java.lang.RuntimeException: Unable to stop activity {be.ulb.owl/be.ulb.owl.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.interrupt()' on a null object reference
at be.ulb.owl.Scanner.stopScanTask(Scanner.java:197)
at be.ulb.owl.graph.Graph.hidden(Graph.java:216)
at be.ulb.owl.MainActivity.onStop(MainActivity.java:170)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1277)
at android.app.Activity.performStop(Activity.java:6142)
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3482)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3531)
at android.app.ActivityThread.access$1100(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5371)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:945)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.