Hi Nicolas, the big issue is just Windows ;)
Without kidding, it seems that the ParsedLine line is null in the Console reader. It could be related to your terminal. What's your Windows version ? Can you try to cleanup etc/shell.init.script (especially around the color settings) ? Does it work with Karaf 4.1.4 ? Thanks ! Regards JB On 03/05/2018 01:56 PM, DUTERTRY Nicolas wrote: > Hi, > > > > I have just downloaded Karaf 4.1.5 and it seems that, under Windows, it is not > possible to obtain an interactive SSH session anymore with the script > “client.bat”. > > The login is successful but when I press any key the SSH session ends. > > I have this error in logs : > > > > 2018-03-05T13:35:39,496 | ERROR | Karaf ssh console user karaf | > ShellUtil | 43 - org.apache.karaf.shell.core - 4.1.5 | > Exception caught while executing command > > java.lang.NullPointerException: null > > at > org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:348) > [43:org.apache.karaf.shell.core:4.1.5] > > at java.lang.Thread.run(Thread.java:748) [?:?] > > 2018-03-05T13:35:40,011 | WARN | sshd-SshServer[50ae478a]-nio2-thread-3 | > ServerSessionImpl | 48 - org.apache.sshd.core - 1.6.0 | > exceptionCaught(ServerSessionImpl[karaf@/127.0.0.1:65321])[state=Opened] > IOException: The specified network name is no longer available. > > > > Do you have any idea what the issue is ? > > Regards, > > -- > > Nicolas Dutertry > > Sopra HR Software - http://www.soprahr.com/ > > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com