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

Guillaume Nodet commented on KARAF-3221:
----------------------------------------

Branch 4.x is not affected.
Not sure what to do for 3.0.x as this require a packaging change (need to embed 
gogo due to the rbac command processor), so it's not a trivial fix and may be 
problematic when upgrading from a previous 3.0.x version.

> Wrong scr:list command used causing NPE
> ---------------------------------------
>
>                 Key: KARAF-3221
>                 URL: https://issues.apache.org/jira/browse/KARAF-3221
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.4.0, 3.0.2
>
>
> Depending on which order the felix scr and karaf scr command bundles are 
> started, the wrong command may be picked up, causing a NPE.
> {code}
> karaf@root> features:in
> features:info       features:install    
> karaf@root> features:install scr 
> karaf@root> scr:list
>    ID   State             Component Name
> [4   ] [ACTIVE          ] ScrServiceMBean
> karaf@root> restart --force org.apache.felix.scr
> karaf@root> scr:list
> Error executing command: java.lang.NullPointerException
> karaf@root> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to