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

NPE in RemoteCommandsFactory during removeCache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 9.2.0.Final
    • 6.0.2.Final
    • Core
    • None

      NullPointerException can occur in RemoteCommandsFactory.fromStream when deserializing a RemoveCacheCommand.

      It does not verify that registry.getNamedComponentRegistry(cacheName) returns an object before using it. If the cache has already been removed (by a concurrent call), it will cause a NullPointerException.

      It should throw a "cache doesn't exist" or equivalent exception instead if not found.

            Unassigned Unassigned
            rhn-support-dereed Dennis Reed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: