Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Trying to use latest oak-run from trunk for connecting to old repository leads to following exception
$java -jar oak-run/target/oak-run-1.8-SNAPSHOT.jar console mongodb://localhost:27017/oak Exception in thread "main" java.lang.UnsupportedOperationException: Method - create. Params: [settings, [key: versionGC new {lastOldestTimeStamp=SET 0}]] at org.apache.jackrabbit.oak.plugins.document.util.ReadOnlyDocumentStoreWrapperFactory$1.invoke(ReadOnlyDocumentStoreWrapperFactory.java:39) at com.sun.proxy.$Proxy2.create(Unknown Source) at org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDocumentStoreWrapper.create(LeaseCheckDocumentStoreWrapper.java:123) at org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector.createSettingDocIfNotExist(VersionGarbageCollector.java:403) at org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector.<init>(VersionGarbageCollector.java:100) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:530) at org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.getNodeStore(DocumentMK.java:846) at org.apache.jackrabbit.oak.console.Console.main(Console.java:110) at org.apache.jackrabbit.oak.run.ConsoleCommand.execute(ConsoleCommand.java:26) at org.apache.jackrabbit.oak.run.Mode.execute(Mode.java:65) at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)