[JBoss JIRA] (ISPN-10490) Remove RemoveCacheCommand
by Dan Berindei (Jira)
Dan Berindei created ISPN-10490:
-----------------------------------
Summary: Remove RemoveCacheCommand
Key: ISPN-10490
URL: https://issues.jboss.org/browse/ISPN-10490
Project: Infinispan
Issue Type: Task
Components: Core
Affects Versions: 10.0.0.Beta5
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.0.0.CR1
Not used since 9.2.0.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (ISPN-5479) NPE in RemoteCommandsFactory during removeCache
by Dan Berindei (Jira)
[ 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)
5 years, 4 months