Felix Meschberger created FELIX-3829:
----------------------------------------

             Summary: NullPointerException when creating configuration with 
multi-value password properties
                 Key: FELIX-3829
                 URL: https://issues.apache.org/jira/browse/FELIX-3829
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-4.0.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-4.0.2


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)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to