diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelLocalDataHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelLocalDataHelper.java index 32761c7ba2..45af086fa5 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelLocalDataHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelLocalDataHelper.java @@ -12,6 +12,7 @@ import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; +import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; @@ -23,7 +24,7 @@ public class TravelLocalDataHelper { private WikivoyageLocalDataDbHelper dbHelper; - private Map historyMap; + private Map historyMap = new HashMap<>(); private List savedArticles = new ArrayList<>(); private Listener listener;