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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: