mod-cluster configure via CLI may end with msg: Failed to start
service Caused by: java.lang.NullPointerException"
------------------------------------------------------------------------------------------------------------------
Key: WFLY-4668
URL:
https://issues.jboss.org/browse/WFLY-4668
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 9.0.0.CR1
Reporter: Jan Stourac
Assignee: Stuart Douglas
Fix For: 10.0.0.Alpha3
When setting up mod-cluster via CLI then msg Failed to start service Caused by:
java.lang.NullPointerException" may appear.
Particular file where exception is thrown is: ModClusterService.java, line 90 . Reason
for exception is that advertise socket binding has to have set multicast address also (mod
cluster just expect it is set it does not check it). In case multicat address is set then
adding mod-cluster filter is successful.
I would expect that more reasonable message is print to user instead of generic NPE.