diff --git a/src/it/reyboz/bustorino/middleware/AsyncStopsSearcher.java b/src/it/reyboz/bustorino/middleware/AsyncStopsSearcher.java --- a/src/it/reyboz/bustorino/middleware/AsyncStopsSearcher.java +++ b/src/it/reyboz/bustorino/middleware/AsyncStopsSearcher.java @@ -115,7 +115,7 @@ protected void onPostExecute(List stops) { final FragmentHelper fh = helperWR.get(); - if (stops==null || fh==null || theQuery==null) { + if (stops==null || stops.size() == 0 || fh==null || theQuery==null) { if (fh!=null) fh.toggleSpinner(false); cancel(true); return;