Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-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 A8E439865 for ; Thu, 2 Feb 2012 16:31:15 +0000 (UTC) Received: (qmail 59526 invoked by uid 500); 2 Feb 2012 16:31:15 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 59416 invoked by uid 500); 2 Feb 2012 16:31:14 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 59407 invoked by uid 99); 2 Feb 2012 16:31:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 16:31:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 16:31:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C1721188840 for ; Thu, 2 Feb 2012 16:30:53 +0000 (UTC) Date: Thu, 2 Feb 2012 16:30:53 +0000 (UTC) From: "Albert Lee (Closed) (JIRA)" To: dev@openjpa.apache.org Message-ID: <1798195230.3302.1328200253793.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (OPENJPA-1657) Postgres connection throws NPE with null 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/OPENJPA-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Albert Lee closed OPENJPA-1657. ------------------------------- Close issue in preparation for 2.2.0 release. > Postgres connection throws NPE with null properties > --------------------------------------------------- > > Key: OPENJPA-1657 > URL: https://issues.apache.org/jira/browse/OPENJPA-1657 > Project: OpenJPA > Issue Type: Bug > Reporter: Pinaki Poddar > Assignee: Pinaki Poddar > Fix For: 2.1.1, 2.2.0 > > > DataSource.getConnection(String url, Properties p) throws NPE on null Properties. An empty property instead is better because any exception to establish connection is more informative. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira