[infinispan-issues] [JBoss JIRA] (ISPN-6860) NPE in failover scenario

Bogdan Sikora (JIRA) issues at jboss.org
Fri Jul 15 08:33:00 EDT 2016


Bogdan Sikora created ISPN-6860:
-----------------------------------

             Summary: NPE in failover scenario
                 Key: ISPN-6860
                 URL: https://issues.jboss.org/browse/ISPN-6860
             Project: Infinispan
          Issue Type: Bug
    Affects Versions: 8.1.4.Final
            Reporter: Bogdan Sikora
            Assignee: Radoslav Husar


Scenario:
* 2x Eaps as workers and 1xapache core as balancer
* Connection request to balancer
* Kill the one worker that handled request
* Check that other worker handles the next request
* Enable killed worker
* Kill second worker (worker that stayed alive in first killing)
* Send request (alive worker is not answering to that one )
{noformat}
2016-07-15 06:46:11,404 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.infinispan.server: org.jboss.msc.service.StartException in service jboss.infinispan.server: Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
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:250)
	at org.jboss.as.clustering.infinispan.subsystem.CacheContainerBuilder.start(CacheContainerBuilder.java:114)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
	... 3 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:172)
	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:887)
	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:656)
	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:645)
	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:548)
	at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:229)
	... 6 more
Caused by: java.lang.NullPointerException
	at org.infinispan.topology.ClusterTopologyManagerImpl.fetchRebalancingStatusFromCoordinator(ClusterTopologyManagerImpl.java:167)
	at org.infinispan.topology.ClusterTopologyManagerImpl.start(ClusterTopologyManagerImpl.java:136)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
	... 11 more
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list