Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3829

NullPointerException when creating configuration with multi-value password properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-4.0.0
    • webconsole-4.2.0
    • Web Console
    • None

    Description

      If a configuration is created which has a multi-value password property, a NullPointerException is thrown in the toList method because there is no existing configuration property and toList assumes a non-null argument:

      java.lang.NullPointerException
      at org.apache.felix.webconsole.internal.compendium.ConfigManager.toList(ConfigManager.java:1186)
      at org.apache.felix.webconsole.internal.compendium.ConfigManager.setPasswordProps(ConfigManager.java:1209)
      at org.apache.felix.webconsole.internal.compendium.ConfigManager.applyConfiguration(ConfigManager.java:901)
      at org.apache.felix.webconsole.internal.compendium.ConfigManager.doPost(ConfigManager.java:169)

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: