diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java index 3a36099d64..388cbed36e 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java @@ -362,7 +362,8 @@ public class TravelDbHelper { cursor.close(); } LinkedHashMap> res = new LinkedHashMap<>(); - for (String header : navMap.keySet()) { + parts = parts == null ? new String[]{} : parts; + for (String header : parts) { WikivoyageSearchResult searchResult = headerObjs.get(header); List results = navMap.get(header); if (results != null) {