diff --git a/src/com/github/nutomic/controldlna/gui/RouteFragment.java b/src/com/github/nutomic/controldlna/gui/RouteFragment.java index bf5aa03..a55a9b9 100644 --- a/src/com/github/nutomic/controldlna/gui/RouteFragment.java +++ b/src/com/github/nutomic/controldlna/gui/RouteFragment.java @@ -582,8 +582,10 @@ OnSeekBarChangeListener, OnScrollListener { * When in playlist mode, scrolls to the item that is currently playing. */ public void scrollToCurrent() { - mListView.smoothScrollToPosition( - mMediaRouterPlayService.getService().getCurrentTrack()); + if (mMediaRouterPlayService != null) { + mListView.smoothScrollToPosition( + mMediaRouterPlayService.getService().getCurrentTrack()); + } } }