[infinispan-issues] [JBoss JIRA] (ISPN-5483) Using multiple FORK channels with JGroupsTransport never accepts the view, results in NPE

Radoslav Husar (JIRA) issues at jboss.org
Wed May 20 07:43:19 EDT 2015


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

Radoslav Husar updated ISPN-5483:
---------------------------------
    Summary: Using multiple FORK channels with JGroupsTransport never accepts the view, results in NPE  (was: Using multiple FORK channels with JGroupsTransport never acccepts the view, results in NPE)


> Using multiple FORK channels with JGroupsTransport never accepts the view, results in NPE
> -----------------------------------------------------------------------------------------
>
>                 Key: ISPN-5483
>                 URL: https://issues.jboss.org/browse/ISPN-5483
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 7.2.1.Final
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>             Fix For: 7.2.2.Final, 8.0.0.Alpha1
>
>
> The problem is org.infinispan.remoting.transport.jgroups.JGroupsTransport#viewAccepted is never called, because org.infinispan.remoting.transport.jgroups.JGroupsTransport#startJGroupsChannelIfNeeded doesn't call viewAccepted if the connectChannel was requested. But multiple FORK channels are only going to be starting this once for the first one and the view will never be accepted.
> -----
> Might be hiding another issue? (i.e. why transport didnt get viewAccepted() called) 
> {noformat}
> 14:54:05,490 INFO  [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 61) ISPN000128: Infinispan version: Infinispan 'Hoptimus Prime' 7.2.1.Final
> 14:54:05,489 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 59) MSC000001: Failed to start service jboss.infinispan.ejb.dist: org.jboss.msc.service.StartException in service jboss.infinispan.ejb.dist: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.topology.ClusterTopologyManagerImpl.start() on object of type ClusterTopologyManagerImpl
> 	at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:107) [wildfly-clustering-service-10.0.0.Alpha2-SNAPSHOT.jar:10.0.0.Alpha2-SNAPSHOT]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_31]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_31]
> 	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_31]
> 	at org.jboss.threads.JBossThread.run(JBossThread.java:320) [jboss-threads-2.2.0.Final.jar:2.2.0.Final]
> Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.topology.ClusterTopologyManagerImpl.start() on object of type ClusterTopologyManagerImpl
> 	at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:248)
> 	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:588)
> 	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
> 	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
> 	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:438)
> 	at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:118)
> 	at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:109)
> 	at org.wildfly.clustering.infinispan.spi.service.CacheBuilder.start(CacheBuilder.java:79)
> 	at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:102) [wildfly-clustering-service-10.0.0.Alpha2-SNAPSHOT.jar:10.0.0.Alpha2-SNAPSHOT]
> 	... 4 more
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.topology.ClusterTopologyManagerImpl.start() on object of type ClusterTopologyManagerImpl
> 	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
> 	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:226)
> 	... 12 more
> Caused by: java.lang.NullPointerException
> 	at org.infinispan.topology.ClusterTopologyManagerImpl.fetchRebalancingStatusFromCoordinator(ClusterTopologyManagerImpl.java:123)
> 	at org.infinispan.topology.ClusterTopologyManagerImpl.start(ClusterTopologyManagerImpl.java:118)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_31]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_31]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_31]
> 	at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_31]
> 	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
> 	... 17 more
> {noformat}
> Full log here:
> https://gist.githubusercontent.com/rhusar/d9f2c68d9b3fa032084b/raw/8dc962826773237c2926b30849ac740fdf10aa19/gistfile1.txt



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list