You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "David Jencks (Created) (JIRA)" <ji...@apache.org> on 2012/01/06 08:05:41 UTC
[jira] [Created] (KARAF-1140) config:list has NPE since it uses a
service after ungetting the service reference
config:list has NPE since it uses a service after ungetting the service reference
---------------------------------------------------------------------------------
Key: KARAF-1140
URL: https://issues.apache.org/jira/browse/KARAF-1140
Project: Karaf
Issue Type: Bug
Components: karaf-shell
Affects Versions: 3.0.0
Reporter: David Jencks
Assignee: David Jencks
Fix For: 3.0.0
ConfigCommandSupport ungets the service reference before using the service. Felix is designed well enough so the service is unusable after it has been ungot.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (KARAF-1140) config:list has NPE since it uses a
service after ungetting the service reference
Posted by "David Jencks (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks resolved KARAF-1140.
---------------------------------
Resolution: Fixed
r1228001.
I changed the commands to use blueprint injection of the ConfigurationAdmin service. This means the commands wont be visible when config admin is missing.
> config:list has NPE since it uses a service after ungetting the service reference
> ---------------------------------------------------------------------------------
>
> Key: KARAF-1140
> URL: https://issues.apache.org/jira/browse/KARAF-1140
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 3.0.0
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 3.0.0
>
>
> ConfigCommandSupport ungets the service reference before using the service. Felix is designed well enough so the service is unusable after it has been ungot.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira