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 Stack Overflow by Devansh
, 1 year ago
Unable to pause activity {com.music.track/com.music.track.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.media.MediaPlayer.isPlaying()' on a null object reference
via Stack Overflow by tomhogenkamp
, 6 months ago
Unable to pause activity {com.tomhogenkamp.NeonDiscoLight/com.tomhogenkamp.NeonDiscoLight.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.tomhogenkamp.NeonDiscoLight.MyPreferences.getBoolPreferences(java.lang.String, boolean)' on a null object reference
via GitHub by kennethlynne
, 1 year ago
Unable to pause activity {com.edtechfoundry.differ/com.edtechfoundry.differ.MainActivity}: java.lang.IllegalStateException
via GitHub by ecgreb
, 1 year ago
Unable to pause activity {com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalArgumentException: Service not registered: com.mapzen.android.lost.internal.FusedLocationProviderApiImpl$2@c390cb5
via Coderanch by L Vasquez, 1 year ago
Unable to pause activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684
via Stack Overflow by ImagineThat
, 1 year ago
Unable to pause activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.media.MediaPlayer.isPlaying()' on a null object reference	at com.music.track.MainActivity.onPause(MainActivity.java:186)	at android.app.Activity.performPause(Activity.java:6397)	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1380)	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3435)