Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1858

clusterName=null causes NPE or hanging at JGroups startup

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

              tfromm_jira Thomas Fromm (Inactive)
              tfromm_jira Thomas Fromm (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: