Change seed type to java.lang.Long so that it can handle null.