Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 9799 invoked from network); 4 May 2007 15:07:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2007 15:07:56 -0000 Received: (qmail 8212 invoked by uid 500); 4 May 2007 15:08:01 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 8160 invoked by uid 500); 4 May 2007 15:08:01 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 8149 invoked by uid 99); 4 May 2007 15:08:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 08:08:01 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 08:07:54 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 3FD3171404A; Fri, 4 May 2007 08:07:33 -0700 (PDT) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 42334] New: - PropertyHelper.setProperty() throws NullPointerException when the property value is not a String Message-ID: X-Bugzilla-Reason: AssignedTo Date: Fri, 4 May 2007 08:07:33 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42334 Summary: PropertyHelper.setProperty() throws NullPointerException when the property value is not a String Product: Ant Version: 1.7.0 Platform: Macintosh OS/Version: Mac OS X 10.4 Status: NEW Severity: major Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: abaudoux@gmail.com ActiveMQ stores non-string objects in system properties, which is legal. This makes PropertyHelper.setProperty(ns,name,value,verbose), called from Project.setSystemProperties() throw a NullPointerException. A check should be added in the Project.setSystemProperties() method when "value" initialized from String value = systemP.getProperty(propertyName); returns null -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org