[jboss-jira] [JBoss JIRA] (JGRP-1421) NullPointerException in MergeView.toString
Renaud Devarieux (JIRA)
jira-events at lists.jboss.org
Thu Feb 2 05:51:49 EST 2012
Renaud Devarieux created JGRP-1421:
--------------------------------------
Summary: NullPointerException in MergeView.toString
Key: JGRP-1421
URL: https://issues.jboss.org/browse/JGRP-1421
Project: JGroups
Issue Type: Bug
Affects Versions: 3.0.4
Environment: Linux 2.6.18-8.el5
Reporter: Renaud Devarieux
Assignee: Bela Ban
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list