diff --git a/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java index aa7478a88b..4ef2940f66 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/EditPoiDialogFragment.java @@ -399,6 +399,9 @@ public class EditPoiDialogFragment extends BaseOsmAndDialogFragment { } private boolean testTooManyCapitalLetters(String name) { + if(name == null) { + return false; + } int capital = 0; int lower = 0; int nonalpha = 0;