Details
-
Bug
-
Resolution: Done
-
Minor
-
3.0.4
-
None
Description
Found while porting from 2.6.15 to 3.0.4.
Exception in thread "main" java.lang.NullPointerException
at org.jgroups.util.Util.printListWithDelimiter(Util.java:2040)
at org.jgroups.View.toString(View.java:143)
at org.jgroups.MergeView.toString(MergeView.java:83)
It happened to me of course only when a MergeView is instanciated without any argument like I did for testing purposes.
I'd say View should check if members is not null before trying anything.
Regards.