Uploaded image for project: 'Hazelcast Openfire Plugin'
  1. Hazelcast Openfire Plugin
  2. HZ-4

Null Pointer Exception in ClusterListener.cleanupNode in Hazelcast plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None

      Description

      There is a bug in the Hazelcast plugin (OF 4.2.1) which causes a null pointer exception, when ClusterListener’s cleanupNode is called. The problem seems to happen if a hazelcast node in the cluster is getting shutdown / goes offline, but there are no sessions connected to it. The code makes the assumption that whatever nodeRoutes.get(…) returned is non-null, but that isn’t the case when there were no sessions associated with the node.

      See ClusterListener.java, cleanupNode, Line 282 and Line 282.

        Attachments

          Activity

            People

            Assignee:
            dwd Dave Cridland
            Reporter:
            wroot wroot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: