You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2017/02/14 13:34:41 UTC

[jira] [Comment Edited] (OAK-5636) potential NPE in ReplicaSetInfo

    [ https://issues.apache.org/jira/browse/OAK-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865771#comment-15865771 ] 

Tomek Rękawek edited comment on OAK-5636 at 2/14/17 1:34 PM:
-------------------------------------------------------------

Fixed for trunk in [r1782962|https://svn.apache.org/r1782962]. Backported to 1.6 in [r1782963|https://svn.apache.org/r1782963].


was (Author: tomek.rekawek):
Fixed for trunk in [r1782962|https://svn.apache.org/r1782962].

> potential NPE in ReplicaSetInfo
> -------------------------------
>
>                 Key: OAK-5636
>                 URL: https://issues.apache.org/jira/browse/OAK-5636
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.6.0
>            Reporter: Julian Reschke
>            Assignee: Tomek Rękawek
>            Priority: Critical
>             Fix For: 1.7.0, 1.8, 1.6.1
>
>         Attachments: OAK-5636.patch
>
>
> seen in log:
> {noformat}
> 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]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)