Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5105

Issue with bin/shell command in karaf 4.1.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2, 4.2.0.M1
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      linux

      Description

      Hello,

      When i try to run this simple bin/shell command i get the exception :

      $ bin/shell 'wrapper:install --help'
      [org.apache.karaf.shell.impl.console.ConsoleSessionImpl] : completionMode property is not defined in etc/org.apache.karaf.shell.cfg file. Using default completion mode.
      [org.apache.karaf.shell.support.ShellUtil] : Command exception (Undefined option, ...)
      org.apache.karaf.shell.support.CommandException: Too many arguments specified
      at org.apache.karaf.shell.impl.action.command.DefaultActionPreparator.prepare(DefaultActionPreparator.java:160)
      at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)
      at org.apache.karaf.shell.impl.console.CommandWrapper.execute(CommandWrapper.java:53)
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:560)
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:486)
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:375)
      at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417)
      at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
      at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Error executing command wrapper:install: too many arguments specified

      This is happening on 4.1.1, it did not happen on 4.0.7.

      Regards,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris@die-schneider.net Christian Schneider
                Reporter:
                fcurvat Frédéric CURVAT
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: