Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

    Your stack trace compared to the selected pattern

    Jump to solutionsExpand frames
    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)