MyTest null
java.lang.NullPointerException
at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770)
at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
at java.base/java.util.regex.Matcher.(Matcher.java:253)
at java.base/java.util.regex.Pattern.matcher(Pattern.java:1133)
at emailvalidator4j.lexer.EmailLexer.lex(EmailLexer.java:23)
at emailvalidator4j.parser.Email.parse(Email.java:25)
at emailvalidator4j.EmailValidator.isValid(EmailValidator.java:23)
at de.system.MyTest.main(MyTest.java:102)
private static EmailValidator m_email4j_v = new EmailValidator();
public static void main( String[] args ) { try { String my_not_there_email_adress = null;
}
MyTest null java.lang.NullPointerException at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770) at java.base/java.util.regex.Matcher.reset(Matcher.java:416) at java.base/java.util.regex.Matcher.(Matcher.java:253)
at java.base/java.util.regex.Pattern.matcher(Pattern.java:1133)
at emailvalidator4j.lexer.EmailLexer.lex(EmailLexer.java:23)
at emailvalidator4j.parser.Email.parse(Email.java:25)
at emailvalidator4j.EmailValidator.isValid(EmailValidator.java:23)
at de.system.MyTest.main(MyTest.java:102)