You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/12/05 06:27:00 UTC
[jira] [Resolved] (KARAF-6033) Command "shell wrapper:install"
fails
[ https://issues.apache.org/jira/browse/KARAF-6033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-6033.
-----------------------------------------
Resolution: Fixed
I confirm that it's already fixed on 4.2.2-SNAPSHOT.
> Command "shell wrapper:install" fails
> -------------------------------------
>
> Key: KARAF-6033
> URL: https://issues.apache.org/jira/browse/KARAF-6033
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.1
> Environment: centos 7 and mac high sierra
> Reporter: Ryan Yeats
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: jline, karaf-shell
> Fix For: 4.2.2
>
>
> The latest release appears to have regressed calling the wrapper:install command from the shell
> {noformat}
> {15:55}~/Downloads/apache-karaf-4.2.1/bin ➭ ./shell wrapper:install
> shell: Enabling Java debug options: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
> Listening for transport dt_socket at address: 5005
> Exception in thread "main" java.lang.NullPointerException: "in" is null!
> at java.nio.channels.Channels.checkNotNull(Channels.java:67)
> at java.nio.channels.Channels.newChannel(Channels.java:347)
> at org.apache.felix.gogo.runtime.CommandSessionImpl.<init>(CommandSessionImpl.java:109)
> at org.apache.felix.gogo.runtime.CommandProcessorImpl.createSession(CommandProcessorImpl.java:84)
> at org.apache.felix.gogo.runtime.CommandProcessorImpl.createSession(CommandProcessorImpl.java:40)
> at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.<init>(ConsoleSessionImpl.java:157)
> at org.apache.karaf.shell.impl.console.SessionFactoryImpl.create(SessionFactoryImpl.java:159)
> at org.apache.karaf.shell.impl.console.standalone.Main.createSession(Main.java:175)
> at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:138)
> at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:131)
> at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:74)
> at org.apache.karaf.shell.impl.console.standalone.Main.main(Main.java:56){noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)