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

--help option doesn't work with command through bin/admin or bin/instance script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.3, 3.0.0
    • 2.4.0, 3.0.0, 2.3.4
    • karaf
    • None

    Description

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: