Dennis Reed created ISPN-5479:
---------------------------------
Summary: 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
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
(v6.3.15#6346)