karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5051) Command "shell wrapper:install" fails
Date Wed, 02 Aug 2017 05:46:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110346#comment-16110346
] 

ASF subversion and git services commented on KARAF-5051:
--------------------------------------------------------

Commit f75ade9f2be418a7191df7ca1c4ab32c12b5a279 in karaf's branch refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=f75ade9 ]

[KARAF-5051] Prevent NPE if the console is executed via the shell script


> Command "shell wrapper:install" fails
> -------------------------------------
>
>                 Key: KARAF-5051
>                 URL: https://issues.apache.org/jira/browse/KARAF-5051
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.1.1
>            Reporter: Jens Offenbach
>            Assignee: Jean-Baptiste Onofré
>              Labels: jline, karaf-shell
>             Fix For: 4.2.0, 4.1.2
>
>
> I am currently using {{apache-karaf-4.1.1-20170320.164246-38.tar.gz}} on Ubuntu 16.04
LTS and the following command fails:
> {code}
> $ shell wrapper:install --start-type DEMAND_START
> [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
> {code}
> May someone please have a look.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message