diff --git a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java index b35c179d83..248ead091a 100644 --- a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java @@ -453,7 +453,7 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity { int total = settings.NUMBER_OF_FREE_DOWNLOADS.get() + entriesToDownload.size(); boolean wiki = false; for (DownloadEntry es : entriesToDownload.values()) { - if (es.baseName.contains("_wiki")) { + if (es.baseName != null && es.baseName.contains("_wiki")) { wiki = true; break; }