You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2015/02/05 04:58:34 UTC
[jira] [Created] (KARAF-3500) NPE throws when executing "bin/client
shutdown"
Freeman Fang created KARAF-3500:
-----------------------------------
Summary: 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
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)