diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryMapAddressReaderAdapter.java b/OsmAnd-java/src/net/osmand/binary/BinaryMapAddressReaderAdapter.java index 0cb4222515..55f43815aa 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryMapAddressReaderAdapter.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryMapAddressReaderAdapter.java @@ -86,8 +86,8 @@ public class BinaryMapAddressReaderAdapter { int tag = WireFormat.getTagFieldNumber(t); switch (tag) { case 0: - if(region.enName == null || region.enName.length() == 0){ - region.enName = Junidecode.unidecode(region.name); + if (region.enName == null || region.enName.length() == 0) { + region.enName = region.name == null ? "" : Junidecode.unidecode(region.name); } return; case OsmandOdb.OsmAndAddressIndex.NAME_FIELD_NUMBER :