[ https://issues.apache.org/jira/browse/KARAF-5144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114183#comment-16114183 ]
Christian Schneider commented on KARAF-5144: -------------------------------------------- I just checked the current shell init script: jlineReader = $.reader if { %(jlineReader != null) } { # On 256 colors terminal, add a right prompt max_colors = ($.jline.terminal getNumericCapability max_colors) This should protect from $.jline.terminal being null too as it is a property of the jline reader. > java.lang.RuntimeException: Command name evaluates to null: $.jline.terminal > ---------------------------------------------------------------------------- > > Key: KARAF-5144 > URL: https://issues.apache.org/jira/browse/KARAF-5144 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 4.1.1 > Reporter: Roland Hauser > Assignee: Jean-Baptiste Onofré > Fix For: 4.2.0, 4.1.2 > > > Method executeScript on class org.apache.karaf.shell.ssh.ShellCommand throws > (and catches) this exception, when property karaf.shell.init.script in > system.properties is set to "karaf.shell.init.script = etc/shell.init.script" > to avoid KARAF-5143. This means that currently no command can be executed > which is specified in the shell init-script, which makes it impossible for us > to deploy our application on Karaf 4.1.1. -- This message was sent by Atlassian JIRA (v6.4.14#64029)