diff --git a/OsmAnd/src/net/osmand/plus/routing/TransportRoutingHelper.java b/OsmAnd/src/net/osmand/plus/routing/TransportRoutingHelper.java index f8dab2119b..910ad05ffe 100644 --- a/OsmAnd/src/net/osmand/plus/routing/TransportRoutingHelper.java +++ b/OsmAnd/src/net/osmand/plus/routing/TransportRoutingHelper.java @@ -195,7 +195,7 @@ public class TransportRoutingHelper { updateProgress(params); } } else { - if (routes.size() > 0) { + if (routes != null && routes.size() > 0) { setCurrentRoute(0); } progressRoute.finish();