Konrad Windszus created OAK-4407: ------------------------------------ Summary: ISE in case command "lc" is used in oak:run console Key: OAK-4407 URL: https://issues.apache.org/jira/browse/OAK-4407 Project: Jackrabbit Oak Issue Type: Bug Components: run Affects Versions: 1.2.15 Reporter: Konrad Windszus
In case I enter the console from oak-run via {{java -jar oak-run-1.2.15.jar console <path to segment store>}} and then enter the command {{lc}}, the following exception is emitted: {code} /> lc ERROR java.lang.IllegalStateException: Attempt to read external blob with blobId [3ab990f0d15cc7b621f3440128337b0adfc2f8eb#26191] without specifying BlobStore at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.readBlob (FileStore.java:911) at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getBlob (SegmentBlob.java:261) at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getLength (SegmentBlob.java:269) at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.length (SegmentBlob.java:109) at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.<init> (OakDirectory.java:246) at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexInput.<init> (OakDirectory.java:398) at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory.fileLength (OakDirectory.java:108) at org.apache.jackrabbit.oak.console.commands.LuceneCommand$_dirSize_closure4.doCall (LuceneCommand.groovy:134) at org.apache.jackrabbit.oak.console.commands.LuceneCommand.dirSize (LuceneCommand.groovy:134) at org.apache.jackrabbit.oak.console.commands.LuceneCommand$_closure1.doCall (LuceneCommand.groovy:62) at java_lang_Runnable$run.call (Unknown Source) at org.apache.jackrabbit.oak.console.GroovyConsole$OakSh.run (GroovyConsole.groovy:259) at org.apache.jackrabbit.oak.console.GroovyConsole.run (GroovyConsole.groovy:68) at org.apache.jackrabbit.oak.console.Console.main (Console.java:119) at org.apache.jackrabbit.oak.run.Main.main (Main.java:174) {code} I don't know how to explicitly configure the blobStore for lucene (this is IMHO not necessary). -- This message was sent by Atlassian JIRA (v6.3.4#6332)