Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3221

Wrong scr:list command used causing NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.2
    • None
    • None

    Description

      Depending on which order the felix scr and karaf scr command bundles are started, the wrong command may be picked up, causing a NPE.

      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> 
      

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: