[ https://issues.apache.org/jira/browse/KARAF-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14132693#comment-14132693 ]
Jean-Baptiste Onofré commented on KARAF-3221: --------------------------------------------- FYI, I fixed a utest failure on shell/console: a forget on the mock (call to getProperty("service.ranking") method). > 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)