Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 766F3F2F8 for ; Wed, 27 Mar 2013 14:27:17 +0000 (UTC) Received: (qmail 20891 invoked by uid 500); 27 Mar 2013 14:27:17 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 20514 invoked by uid 500); 27 Mar 2013 14:27:16 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 20314 invoked by uid 99); 27 Mar 2013 14:27:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 14:27:15 +0000 Date: Wed, 27 Mar 2013 14:27:15 +0000 (UTC) From: "Simone Tripodi (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CHAIN-80) NPE when submitting null commands map to CatalogBase 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/CHAIN-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi resolved CHAIN-80. --------------------------------- Resolution: Fixed Assignee: Simone Tripodi patch applied at r1461601, thanks Steve for contributing! > NPE when submitting null commands map to CatalogBase > ---------------------------------------------------- > > Key: CHAIN-80 > URL: https://issues.apache.org/jira/browse/CHAIN-80 > Project: Commons Chain > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Steve Westwood > Assignee: Simone Tripodi > Priority: Minor > Labels: catalog > Fix For: 2.0 > > Attachments: CHAIN-80-patch.txt > > > The command relies on _Map.putAll()_ to populate *CatalogBase* when passed into the constructor, but as the javadocs specify at http://docs.oracle.com/javase/6/docs/api/java/util/Map.html#putAll(java.util.Map), this throws an NPE. The constructor requires a guard inside to protect it from null objects being passed as an argument -- 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