[
https://issues.jboss.org/browse/ISPN-5479?page=com.atlassian.jira.plugin....
]
Dan Berindei resolved ISPN-5479.
--------------------------------
Fix Version/s: 9.2.0.Final
Resolution: Out of Date
{{RemoveCacheCommand}} is no longer used, {{removeCache}} now goes through the global
state cache.
NPE in RemoteCommandsFactory during removeCache
-----------------------------------------------
Key: ISPN-5479
URL:
https://issues.jboss.org/browse/ISPN-5479
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 6.0.2.Final
Reporter: Dennis Reed
Priority: Major
Fix For: 9.2.0.Final
NullPointerException can occur in RemoteCommandsFactory.fromStream when deserializing a
RemoveCacheCommand.
It does not verify that registry.getNamedComponentRegistry(cacheName) returns an object
before using it. If the cache has already been removed (by a concurrent call), it will
cause a NullPointerException.
It should throw a "cache doesn't exist" or equivalent exception instead if
not found.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)