Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2050

It is possible to get AMQ224000: Failure in initialisation: java.lang.NullPointerException during shutdown of backup server with shared store

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.5, 2.7.0
    • Fix Version/s: 1.6.0, 2.6.4, 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      On system with slower reactions, there could be a NullPointerException in log.

       

      Problem happens during shutdown of backup server during activation (using SharedStoreBackupActivation)

      Scenario: live/backup pair with shared store. Live is stopped and then backup is stopped before activation is complete. On slower machines, there is a possibility, that FailbackChecker is initialized even if cluster connection is cleared to null (because of shutting down). This ends with NPE during backup shutdown.

      It is possible to simulate it with SharedStoreBackupTest with addition of Thread.sleep(500) into begining of SharedStoreBackupActivation.startFailbackChecker. Exception can be then seen in test output.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jondruse Jiri Ondrusek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: