diff --git a/src/main/java/org/myrobotlab/service/AudioFile.java b/src/main/java/org/myrobotlab/service/AudioFile.java index 33cf606d22..26abd0b9f7 100644 --- a/src/main/java/org/myrobotlab/service/AudioFile.java +++ b/src/main/java/org/myrobotlab/service/AudioFile.java @@ -356,8 +356,10 @@ public void stop() { // dump the current song // pause the next one if queued - ap.pause(false); // FIXME me shouldn't it be true ? - ap.stopPlaying(); + if (ap != null) { + ap.pause(false); // FIXME me shouldn't it be true ? + ap.stopPlaying(); + } } // FIXME - implement ???