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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.3.0.Final
    • 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)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: