diff --git a/web/src/main/java/com/navercorp/pinpoint/web/vo/User.java b/web/src/main/java/com/navercorp/pinpoint/web/vo/User.java index e60f831dbe94..aede910f07a4 100644 --- a/web/src/main/java/com/navercorp/pinpoint/web/vo/User.java +++ b/web/src/main/java/com/navercorp/pinpoint/web/vo/User.java @@ -68,7 +68,7 @@ public void setEmail(String email) { } public void removeHyphenForPhoneNumber() { - if(phoneNumber.contains("-")) { + if (phoneNumber != null && phoneNumber.contains("-")) { phoneNumber = phoneNumber.replace("-", ""); } }