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

Random Failues on *FactoryBeanTest in the Spring Modules

XMLWordPrintable

      Example: http://ci.infinispan.org/viewLog.html?buildId=14526&tab=buildResultsDiv&buildTypeId=bt8#testNameId4372805828079769285

      org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
          at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:243)
          at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:573)
          at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:539)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:416)
          at org.infinispan.spring.support.embedded.InfinispanEmbeddedCacheManagerFactoryBeanTest$2.call(InfinispanEmbeddedCacheManagerFactoryBeanTest.java:82)
          at org.infinispan.test.TestingUtil.withCacheManager(TestingUtil.java:1321)
          at org.infinispan.spring.support.embedded.InfinispanEmbeddedCacheManagerFactoryBeanTest.infinispanEmbeddedCacheManagerFactoryBeanShouldCreateACustomizedCacheManagerIfGivenADefaultConfigurationLocation(InfinispanEmbeddedCacheManagerFactoryBeanTest.java:75)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
          at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
          at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
          at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
          at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
          at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
          at org.testng.TestRunner.privateRun(TestRunner.java:767)
          at org.testng.TestRunner.run(TestRunner.java:617)
          at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
          at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
          at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
          at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
          at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:170)
          at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
          at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
          at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
          at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
          at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:221)    ... 26 more
      Caused by: org.infinispan.commons.CacheException: Channel connected, but unable to register MBeans
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:216)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:190)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)    ... 31 more
      Caused by: javax.management.MBeanRegistrationException: The @MBean objectName is not unique
          at org.jgroups.jmx.JmxConfigurator.internalRegister(JmxConfigurator.java:178)
          at org.jgroups.jmx.JmxConfigurator.register(JmxConfigurator.java:116)
          at org.jgroups.jmx.JmxConfigurator.registerChannel(JmxConfigurator.java:53)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:213)    ... 37 more
      Caused by: javax.management.InstanceAlreadyExistsException: org.infinispan:type=protocol,cluster="infinispan-cluster",protocol=TCP
          at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
          at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
          at org.jgroups.jmx.JmxConfigurator.internalRegister(JmxConfigurator.java:175)    ... 40 more
      

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: