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

NamespaceHandlers should return null for unknown namespaces

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.8
    • Fix Version/s: 4.1.0, 4.0.9
    • Component/s: karaf
    • Labels:
      None

      Description

      The namespacehandler for shell does a:

      return getClass().getResource("karaf-shell-1.1.0.xsd");

      for unknown namespaces. It should return null. Right now, users will get an error at startup of:

      "NamespaceHandler org.apache.karaf.shell.console.commands.NamespaceHandler is behaving badly and should be fixed"

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              dkulp Daniel Kulp
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: