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 TsvetinaIvanova
, 1 year ago
Unable to pause activity {com.sth.sth/com.sth.sth.TelerikCallbackActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.views.MapView.onPause()' on a null object reference
via Stack Overflow by Gonzalo
, 2 years ago
Unable to pause activity {com.IceDriftGFS.icedrift/com.IceDriftGFS.icedrift.Main}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.join()' on a null object reference
java.lang.RuntimeException: Unable to pause activity {com.sth.sth/com.sth.sth.TelerikCallbackActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.views.MapView.onPause()' on a null object reference at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3366) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3325) at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3300) at android.app.ActivityThread.access$1000(ActivityThread.java:156) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1362) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:211) at android.app.ActivityThread.main(ActivityThread.java:5389) 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:1020) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.views.MapView.onPause()' on a null object reference at com.telerik.plugins.mapbox.Mapbox.onPause(Mapbox.java:488) at org.apache.cordova.PluginManager.onPause(PluginManager.java:209) at org.apache.cordova.CordovaWebViewImpl.handlePause(CordovaWebViewImpl.java:430) at org.apache.cordova.CordovaActivity.onPause(CordovaActivity.java:241) at android.app.Activity.performPause(Activity.java:6101) at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1310) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3352) ... 11 more