You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/12/23 08:48:12 UTC
[jira] [Resolved] (FELIX-3829) NullPointerException when creating
configuration with multi-value password properties
[ 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