You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Chandan (JIRA)" <ji...@apache.org> on 2016/08/05 04:45:20 UTC

[jira] [Commented] (KARAF-4433) Unable to connect to a child instance with instance:connect

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

Chandan commented on KARAF-4433:
--------------------------------

Hello Onofre,

I am still facing the same issue in Karaf 4.0.5
org.apache.sshd.common.SshException: Channel opening failed



> Unable to connect to a child instance with instance:connect
> -----------------------------------------------------------
>
>                 Key: KARAF-4433
>                 URL: https://issues.apache.org/jira/browse/KARAF-4433
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance
>    Affects Versions: 4.0.4
>         Environment: Windows 7, Oracle JDK 1.8.0_74
>            Reporter: Vincent MATHON
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.5
>
>
> Steps to reproduce:
> 1/ install a fresh karaf distribution
> 2/ launch karaf.bat
> 3/ root()> instance:create test
> 4/ root()> instance:start test
> 5/ root()> instance:connect test
> Connecting to host localhost on port 8103
> Connecting to unknown server. Automatically adding to known hosts.
> Storing the server key in known_hosts.
> Password:  *****
> Connected
> Error executing command: Channel opening failed
> Note that 
> 6/ root()> instance:connect test info
> works perfectly, thus, the problem arises when no command is specified.
> The stacktrace looks like :
> 2016-03-22 14:45:17,203 | ERROR | nsole user karaf | ShellUtil                        | 44 - org.apache.karaf.shell.core - 4.0.4 | Exception caught while executing command
> org.apache.sshd.common.SshException: Channel opening failed at org.apache.sshd.client.future.DefaultOpenFuture.verify(DefaultOpenFuture.java:43)[1:org.apache.sshd.core:0.14.0] at org.apache.karaf.shell.ssh.SshAction.execute(SshAction.java:241)[45:org.apache.karaf.shell.ssh:4.0.4]
> ......
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_74]
> Caused by: java.lang.NullPointerException
> 	at org.apache.sshd.common.util.Buffer.putString(Buffer.java:435)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)