[infinispan-issues] [JBoss JIRA] (ISPN-7722) NPE in LocalTopologyManagerImpl when undeploying an application
Tristan Tarrant (JIRA)
issues at jboss.org
Tue Jul 18 13:15:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437116#comment-13437116 ]
Tristan Tarrant commented on ISPN-7722:
---------------------------------------
This was fixed at the same time as ISPN-4099 in 9.1. We can backport it to 9.0.x.
> NPE in LocalTopologyManagerImpl when undeploying an application
> ---------------------------------------------------------------
>
> Key: ISPN-7722
> URL: https://issues.jboss.org/browse/ISPN-7722
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.0.0.Final
> Environment: JBoss 6.3.3.GA & Tomcat 8.5.8
> Reporter: Alexis NICOLAS
> Fix For: 9.1.0.Final
>
>
> 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