Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5783

Cache.put(null, null) leaks an implicit transaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.3.0.Beta1
    • 8.0.1.Final
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: