[infinispan-issues] [JBoss JIRA] (ISPN-1858) clusterName=null causes NPE or hanging at JGroups startup

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri Feb 10 08:11:49 EST 2012


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

Manik Surtani updated ISPN-1858:
--------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/944  (was: https://github.com/infinispan/infinispan/pull/944)

    
> clusterName=null causes NPE or hanging at JGroups startup 
> ----------------------------------------------------------
>
>                 Key: ISPN-1858
>                 URL: https://issues.jboss.org/browse/ISPN-1858
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core API
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Thomas Fromm
>            Assignee: Manik Surtani
>
> When configuring the cache programmatic using the GlobalConfigurationBuilder and setting the clustername to null,
> causes JGroupsTransport to hang at startup or creating NPE, when JMX is enabled.
> e.g.:
> Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object 
>         at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
>         at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:875)
>         at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:630)
>         at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:619)
>         at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:523)
>         at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:200)
>         ... 32 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:234)
>         ... 37 more
> Caused by: org.infinispan.CacheException: Channel connected, but unable to register MBeans
>         at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:195)
>         at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:169)
>         ... 42 more
> Caused by: java.lang.NullPointerException
>         at javax.management.ObjectName.quote(ObjectName.java:1855)
>         at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:189)
>         ... 43 more

--
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 infinispan-issues mailing list