Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1484

#cacheEntryRemoved might be called even if there is no entry associated with the removed key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.7
    • Fix Version/s: 9.11.8, 10.8-rc-1
    • Component/s: Cache
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      To reproduce just call Cache#remove('notexistingkey'). This will call cacheEntryRemoved which a null value.

      It does not make any sense. Unfortunately it seems to be an Infinispan bug (or maybe it's on purpose for some very weird reason).

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: