Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5636

potential NPE in ReplicaSetInfo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0, 1.6.1, 1.8.0
    • core, mongomk
    • None

    Description

      seen in log:

      java.lang.NullPointerException: null
              at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at com.google.common.collect.SingletonImmutableSet.<init>(SingletonImmutableSet.java:47) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at com.google.common.collect.ImmutableSet.of(ImmutableSet.java:94) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at org.apache.jackrabbit.oak.plugins.document.mongo.replica.ReplicaSetInfo.updateRevisions(ReplicaSetInfo.java:264) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at org.apache.jackrabbit.oak.plugins.document.mongo.replica.ReplicaSetInfo.updateReplicaStatus(ReplicaSetInfo.java:182) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at org.apache.jackrabbit.oak.plugins.document.mongo.replica.ReplicaSetInfo.updateLoop(ReplicaSetInfo.java:145) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at org.apache.jackrabbit.oak.plugins.document.mongo.replica.ReplicaSetInfo.run(ReplicaSetInfo.java:134) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
              at java.lang.Thread.run(Unknown Source) [na:1.8.0_121]
      

      Attachments

        1. OAK-5636.patch
          1 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              tomek.rekawek Tomek Rękawek
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: