[jboss-jira] [JBoss JIRA] (AS7-6328) SingletonService fails with NullPointerException when bound to 0.0.0.0

Patrik Varga (JIRA) jira-events at lists.jboss.org
Sun Jan 13 15:59:21 EST 2013


     [ https://issues.jboss.org/browse/AS7-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrik Varga updated AS7-6328:
------------------------------

    Issue Type: Bug  (was: Feature Request)

    
> SingletonService fails with NullPointerException when bound to 0.0.0.0 
> -----------------------------------------------------------------------
>
>                 Key: AS7-6328
>                 URL: https://issues.jboss.org/browse/AS7-6328
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 7.1.2.Final (EAP)
>         Environment: OS independent, reproduces on Ubuntu 12.10 and Windows XP.
>            Reporter: Patrik Varga
>            Assignee: Paul Ferraro
>            Priority: Critical
>
> Assume that you have working deployment with a custom MSC service wrapped into a SingletonService. When you are trying to access the value of the SingletonService, the SingletonService.getValue() call fails with NullPointerException iff the JBoss instance is listening on all interfaces, i.e. it is bound to 0.0.0.0 by using <inet-address value="0.0.0.0"/> or <any-address/> under <interface name="public"> in standalone-full-ha.xml.
> It works when specifying an explicit IP.
> Example: try the cluster-ha-singleton jboss-as-quickstart
> Top of the stack trace:
> java.lang.NullPointerException
>   at org.jboss.as.clustering.singleton.SingletonService.getValue(SingletonService.java:176)
>   at org.jboss.as.clustering.singleton.SingletonService.getValue(SingletonService.java:53)
>   at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1203)
>   [...]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list