validate group and password in Hibernate integration module #7978
Hazelcast Hibernate module
NPE thrown during establisging a connection to the cluster
@gAmUssA An extra validation is not required in this case. Because if group name and password is not provided in hibernate config, default values in client config are used which are dev and dev-pass. See the code : https://github.com/hazelcast/hazelcast-hibernate/blob/master/hazelcast-hibernate4/src/main/java/com/hazelcast/hibernate/instance/HazelcastClientLoader.java#L64
Also client config does not allow null values and does its validation correctly. I checked out user's configuration even though they do not provide
I do not know the reason of NPE right now (maybe client/member version mismatch) , I can say group name and password are not required fields in hibernate config if not provided default values are used. So we do not need extra validation.