Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 186D5EC70 for ; Sun, 23 Dec 2012 07:48:13 +0000 (UTC) Received: (qmail 96762 invoked by uid 500); 23 Dec 2012 07:48:13 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 96729 invoked by uid 500); 23 Dec 2012 07:48:13 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 96718 invoked by uid 99); 23 Dec 2012 07:48:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Dec 2012 07:48:12 +0000 Date: Sun, 23 Dec 2012 07:48:12 +0000 (UTC) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FELIX-3829) NullPointerException when creating configuration with multi-value password properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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