[infinispan-issues] [JBoss JIRA] (ISPN-5783) Cache.put(null, null) leaks an implicit transaction
Dan Berindei (JIRA)
issues at jboss.org
Thu May 3 05:54:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-5783:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.3.0.Beta1
(was: 8.1.0.Final)
(was: 8.1.0.Alpha1)
Resolution: Done
> Cache.put(null, null) leaks an implicit transaction
> ---------------------------------------------------
>
> Key: ISPN-5783
> URL: https://issues.jboss.org/browse/ISPN-5783
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.0.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.3.0.Beta1
>
>
> {{null}} keys and values are not supported, and {{Cache.put(null, null)}} will throw a {{NullPointerException}}. But the null check happens after the implicit transaction was created, and it doesn't clean it up before throwing the exception.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list