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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/05/10 12:20:12 UTC

[jira] [Commented] (OAK-1953) Oak console on MongoMK fails with NPE

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

Julian Reschke commented on OAK-1953:
-------------------------------------

Fixed LastRevRecoverAgent for 1.0 in http://svn.apache.org/r1743164

> Oak console on MongoMK fails with NPE
> -------------------------------------
>
>                 Key: OAK-1953
>                 URL: https://issues.apache.org/jira/browse/OAK-1953
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, documentmk, mongomk, rdbmk, run
>    Affects Versions: 1.0.30
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.1.0, 1.0.31
>
>
> The exception is:
> {noformat}
> Apache Jackrabbit Oak 1.1-SNAPSHOT
> Exception in thread "main" java.lang.NullPointerException: Lease End Time not set
> 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:209)
> 	at org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.getLeaseEndTime(ClusterNodeInfoDocument.java:41)
> 	at org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgent.recover(LastRevRecoveryAgent.java:81)
> 	at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.checkLastRevRecovery(DocumentNodeStore.java:425)
> 	at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:404)
> 	at org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.getNodeStore(DocumentMK.java:582)
> 	at org.apache.jackrabbit.oak.console.Console.main(Console.java:72)
> 	at org.apache.jackrabbit.oak.run.Main.main(Main.java:118)
> {noformat}
> The document in the clusterNodes collection looks like this:
> {noformat}
> {
> 	"_id" : "1",
> 	"state" : null,
> 	"leaseEnd" : null,
> 	"instance" : "/Users/mreutegg/test",
> 	"machine" : "mac:685b35b878ea",
> 	"recoveryLock" : null,
> 	"info" : "id: 1,\nstartTime: 1404725920370,\nmachineId: mac:685b35b878ea,\ninstanceId: /Users/mreutegg/test,\npid: 40619,\nuuid: 5cca6177-1062-441c-a86b-ec7bf848917d,\nreadWriteMode: null,\nstate: NONE,\nrevLock: NONE",
> 	"_modCount" : NumberLong(52)
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)