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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3, 3.0.0
    • Fix Version/s: 2.4.0, 3.0.0, 2.3.4
    • Component/s: karaf
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: