Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10117

oak-run console does not start up - CommandNameCompleter construction fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.22.15, 1.50.0
    • oak-run
    • None

    Description

      FATAL : groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.codehaus.groovy.tools.shell.completion.CommandNameCompleter(org.codehaus.groovy.tools.shell.CommandRegistry)
      groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.codehaus.groovy.tools.shell.completion.CommandNameCompleter(org.codehaus.groovy.tools.shell.CommandRegistry)
      at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1749)
      at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1556)
      at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:249)
      at org.apache.jackrabbit.oak.console.commands.OakHelpCommand.createCompleters(OakHelpCommand.groovy:41)
      at org.codehaus.groovy.tools.shell.CommandSupport.getCompleter(CommandSupport.groovy:143)
      at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:76)
      at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:85)
      at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGetProperty(GetEffectivePogoPropertySite.java:45)
      at org.codehaus.groovy.tools.shell.CommandsMultiCompleter.add(InteractiveShellRunner.groovy:179)
      at org.codehaus.groovy.tools.shell.CommandsMultiCompleter$add.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
      at org.codehaus.groovy.tools.shell.CommandsMultiCompleter$add.call(Unknown Source)
      at org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:89)
      at java_lang_Runnable$run.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
      at org.apache.jackrabbit.oak.console.GroovyConsole$OakSh.run(GroovyConsole.groovy:265)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
      at org.codehaus.groovy.tools.shell.Groovysh.run(Groovysh.groovy:577)
      at org.apache.jackrabbit.oak.console.GroovyConsole.run(GroovyConsole.groovy:74)
      at org.apache.jackrabbit.oak.console.Console.main(Console.java:74)
      at org.apache.jackrabbit.oak.run.ConsoleCommand.execute(ConsoleCommand.java:27)
      at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)

      Attachments

        Issue Links

          Activity

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: