Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10850

When SonarQube is shutting down, do not log Hazelcast exception.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: None
    • Labels:
      None
    • Edition:
      Data Center
    • Production Notes:
      None

      Description

      Example of stack trace :

      An error occurred while attempting to refresh HealthState of the current node in the shared state:
      com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
      	at com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.getOrCreateProxyFuture(ProxyRegistry.java:152)
      	at com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.getOrCreateProxy(ProxyRegistry.java:135)
      	at com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl.getDistributedObject(ProxyServiceImpl.java:147)
      	at com.hazelcast.instance.HazelcastInstanceImpl.getDistributedObject(HazelcastInstanceImpl.java:376)
      	at com.hazelcast.instance.HazelcastInstanceImpl.getReplicatedMap(HazelcastInstanceImpl.java:308)
      	at com.hazelcast.instance.HazelcastInstanceProxy.getReplicatedMap(HazelcastInstanceProxy.java:186)
      	at org.sonar.process.cluster.hz.HazelcastMemberImpl.getReplicatedMap(HazelcastMemberImpl.java:54)
      	at com.sonarsource.ha.B.getReplicatedMap(Unknown Source)
      	at org.sonar.process.cluster.health.SharedHealthStateImpl.readReplicatedMap(SharedHealthStateImpl.java:108)
      	at org.sonar.process.cluster.health.SharedHealthStateImpl.writeMine(SharedHealthStateImpl.java:53)
      	at org.sonar.process.cluster.health.HealthStateRefresher.refresh(HealthStateRefresher.java:49)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eric.hartmann Eric Hartmann
                Reporter:
                eric.hartmann Eric Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: