EmailValidator4J
EmailValidator4J copied to clipboard
java.lang.NullPointerException
private static EmailValidator m_email4j_v = new EmailValidator();
public static void main( String[] args ) { try { String my_not_there_email_adress = null;
System.out.println( "Test 1 " + m_email4j_v.isValid( my_not_there_email_adress ) );
}
catch ( Exception err_inst )
{
System.out.println( "MyTest " + err_inst.getMessage() );
err_inst.printStackTrace( System.out );
}
System.exit( 0 );
}
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.