Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3296

Occasional NPE in EstablishedClusterView

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Discovery Impl 1.0.2
    • Fix Version/s: Discovery Impl 1.0.4
    • Component/s: Extensions
    • Labels:
      None

      Description

      Happened in http://ci.apache.org/builders/sling-trunk-oak/builds/52:

      testAdditionalInstance(org.apache.sling.discovery.impl.cluster.ClusterTest) Time elapsed: 4.253 sec <<< ERROR!
      java.lang.NullPointerException
      at org.apache.sling.discovery.impl.common.resource.EstablishedClusterView.<init>(EstablishedClusterView.java:55)
      at org.apache.sling.discovery.impl.cluster.ClusterViewServiceImpl.getClusterView(ClusterViewServiceImpl.java:141)
      at org.apache.sling.discovery.impl.DiscoveryServiceImpl.getTopology(DiscoveryServiceImpl.java:406)
      at org.apache.sling.discovery.impl.DiscoveryServiceImpl.handlePotentialTopologyChange(DiscoveryServiceImpl.java:452)
      at org.apache.sling.discovery.impl.DiscoveryServiceImpl.updateProperties(DiscoveryServiceImpl.java:427)
      at org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.issueHeartbeat(HeartbeatHandler.java:250)
      at org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.run(HeartbeatHandler.java:207)
      at org.apache.sling.discovery.impl.setup.Instance.runHeartbeatOnce(Instance.java:340)
      at org.apache.sling.discovery.impl.cluster.ClusterTest.testAdditionalInstance(ClusterTest.java:322)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stefanegli Stefan Egli
                Reporter:
                bdelacretaz Bertrand Delacretaz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: