diff --git a/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisMediaSession.java b/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisMediaSession.java index 6caeb1a0..547cc1dc 100644 --- a/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisMediaSession.java +++ b/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisMediaSession.java @@ -99,7 +99,9 @@ public class MprisMediaSession implements @Override public void onStop() { - notificationPlayer.stop(); + if (notificationPlayer != null) { + notificationPlayer.stop(); + } } @Override