[
https://issues.apache.org/jira/browse/KARAF-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on KARAF-3500 started by Freeman Fang.
-------------------------------------------
> NPE throws when executing "bin/client shutdown"
> -----------------------------------------------
>
> Key: KARAF-3500
> URL: https://issues.apache.org/jira/browse/KARAF-3500
> Project: Karaf
> Issue Type: Improvement
> Reporter: Freeman Fang
> Assignee: Freeman Fang
>
> when use bin/client shutdown we get NPE in log
> {code}
> 13:25:41,548 | INFO | pool-16-thread-2 | ShellCommandFactory |
> 49 - org.apache.karaf.shell.ssh - 2.3.0| Exception caught while executing
> command
> java.lang.NullPointerException
> at org.apache.karaf.shell.osgi.Shutdown.doExecute(Shutdown.java:83)
> at
> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
> at
> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> {code}
> and get
> {code}
> Error executing command: java.lang.NullPointerException
> {code}
> Too avoid the NPE, we should return some meaningful prompt message
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)