diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java index adfc31841b..00ad198b8d 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java @@ -242,7 +242,11 @@ public class WikivoyageWebViewClient extends WebViewClient implements RegionCall break; } if(osmandRegions.contain(b, x31, y31)) { - return osmandRegions.getLocaleName(osmandRegions.getDownloadName(b), false); + String downloadName = osmandRegions.getDownloadName(b); + if (downloadName == null) { + return ""; + } + return osmandRegions.getLocaleName(downloadName, false); } } }