[infinispan-issues] [JBoss JIRA] (ISPN-5479) NPE in RemoteCommandsFactory during removeCache
Dennis Reed (JIRA)
issues at jboss.org
Mon May 18 21:40:19 EDT 2015
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)
More information about the infinispan-issues
mailing list