karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2577) --help option doesn't work with command through bin/admin or bin/instance script
Date Thu, 14 Nov 2013 16:15:22 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822560#comment-13822560
] 

Jean-Baptiste Onofré commented on KARAF-2577:
---------------------------------------------

Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1541950

> --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)

Mime
View raw message