Details
Description
The exception is:
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)
The document in the clusterNodes collection looks like this:
{ "_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) }
Attachments
Issue Links
- is duplicated by
-
OAK-4356 DocumentNodeStoreIT.modifiedResetWithDiff fails for various RDBs
- Closed