[infinispan-issues] [JBoss JIRA] (ISPN-7722) NPE in LocalTopologyManagerImpl when undeploying the application

Alexis NICOLAS (JIRA) issues at jboss.org
Wed Apr 12 10:41:00 EDT 2017


Alexis NICOLAS created ISPN-7722:
------------------------------------

             Summary: NPE in LocalTopologyManagerImpl when undeploying the application
                 Key: ISPN-7722
                 URL: https://issues.jboss.org/browse/ISPN-7722
             Project: Infinispan
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 9.0.0.Final
         Environment: JBoss 6.3.3.GA & Tomcat 8.5.8
            Reporter: Alexis NICOLAS


When undeploying an application using Infinispan configured with global state disabled from an application server you get the following error:

{code}
2017-04-12 15:54:28.617 WARN  o.i.t.CacheTopologyControlCommand:165 - ISPN000071: Caught exception when handling command CacheTopologyControlCommand{cache=XXXXX, type=SHUTDOWN_PERFORM, sender=null, joinInfo=null, topologyId=0, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, actualMembers=null, throwable=null, viewId=0}
java.lang.NullPointerException: null
        at org.infinispan.topology.LocalTopologyManagerImpl.handleCacheShutdown(LocalTopologyManagerImpl.java:655)
        at org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:204)
        at org.infinispan.topology.CacheTopologyControlCommand.invokeAsync(CacheTopologyControlCommand.java:159)
        at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.invokeReplicableCommand(GlobalInboundInvocationHandler.java:173)
        at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.runReplicableCommand(GlobalInboundInvocationHandler.java:154)
        at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.lambda$handleReplicableCommand$1(GlobalInboundInvocationHandler.java:148)
        at org.infinispan.util.concurrent.BlockingTaskAwareExecutorServiceImpl$RunnableWrapper.run(BlockingTaskAwareExecutorServiceImpl.java:203)
        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)
{code}

It seems to be that in the method handleCacheShutdown(...) method of LocalTopologyManagerImpl a test whether globalStateManager is null is missing.





--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list