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 06:31:34 UTC
[jira] [Resolved] (KARAF-3500) NPE throws when executing
"bin/client shutdown"
[ https://issues.apache.org/jira/browse/KARAF-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved KARAF-3500.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.0.0.M2
3.0.4
2.4.2
4.0.0
commit fix
http://git-wip-us.apache.org/repos/asf/karaf/commit/9204640e for karaf-2.x branch
http://git-wip-us.apache.org/repos/asf/karaf/commit/07f88581 for karaf-3.0.x branch
http://git-wip-us.apache.org/repos/asf/karaf/commit/b53608ba for master
> 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
> Fix For: 4.0.0, 2.4.2, 3.0.4, 4.0.0.M2
>
>
> 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}
> from client
> Too avoid the NPE, we should return some meaningful prompt message
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)