You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/11/12 20:50:17 UTC
[jira] [Created] (KARAF-2577) --help option doesn't work with
command through bin/admin or bin/instance script
Jean-Baptiste Onofré created KARAF-2577:
-------------------------------------------
Summary: --help option doesn't work with command through bin/admin or bin/instance script
Key: KARAF-2577
URL: https://issues.apache.org/jira/browse/KARAF-2577
Project: Karaf
Issue Type: Bug
Components: karaf-instance
Affects Versions: 2.3.3, 3.0.0
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 2.4.0, 3.0.0, 2.3.4
When we use --help with bin/admin or bin/instance script, we get a NullPointException.
It's due to the fact that no CommandSession exist and so methods that use CommandSession properties (like isGlobalScope() and isMultiScopeMode() in NameScoping) throw NPE.
We should prevent this NPE.
--
This message was sent by Atlassian JIRA
(v6.1#6144)