@@ -55,7 +55,7 @@ public class MusicServiceImpl implements MusicService {
public void play() {
synchronized (this) {
log.info("startCmd:{}, endCmd:{}, repeat:{}", startCmd, endCmd, repeat);
- log.info("p:{}, p.isAlive:{}", p, p.isAlive());
+ log.info("p:{}, p.isAlive:{}", p, p != null ? p.isAlive() : null);
if (startCmd) {
startCmd = false;
if (p != null) {