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

potential NPE in ReplicaSetInfo

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0, 1.6.1, 1.8.0
    • Component/s: core, mongomk
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: