felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-3829) NullPointerException when creating configuration with multi-value password properties
Date Sun, 23 Dec 2012 07:48:12 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Meschberger resolved FELIX-3829.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 1425431 by not calling toList from setPasswordProps if the props parameter is
null
                
> 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

Mime
View raw message