Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 12698 invoked from network); 13 Apr 2010 23:38:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 23:38:18 -0000 Received: (qmail 72518 invoked by uid 500); 13 Apr 2010 23:38:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 72462 invoked by uid 500); 13 Apr 2010 23:38:17 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 72455 invoked by uid 99); 13 Apr 2010 23:38:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 23:38:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 23:38:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3DNbr4f018685 for ; Tue, 13 Apr 2010 19:37:53 -0400 (EDT) Message-ID: <8817679.81671271201873154.JavaMail.jira@thor> Date: Tue, 13 Apr 2010 19:37:53 -0400 (EDT) From: "Vasily Zakharov (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-3814) NPE in GBeanOverride In-Reply-To: <13902918.1202235608849.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vasily Zakharov closed GERONIMO-3814. ------------------------------------- Closed. > NPE in GBeanOverride > -------------------- > > Key: GERONIMO-3814 > URL: https://issues.apache.org/jira/browse/GERONIMO-3814 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: core > Affects Versions: 2.1, 2.1.1, 2.2 > Environment: Apache Harmony > Reporter: Vasily Zakharov > Assignee: Jarek Gawor > Fix For: 2.0.3, 2.1.1, 2.2 > > > There's a flaw in org.apache.geronimo.system.configuration.GBeanOverride: > getValue(), lines 388-389: > PropertyEditor editor = loadPropertyEditor(attribute, classLoader); > editor.setAsText(value); > loadPropertyEditor() may return null (lines 402, 407) and this can cause NPE. > I didn't see this NPE on Sun, but it occurs on Harmony (clearly some other issue exists causing the loadPropertyEditor() to return null, investigating) and I think it's a problem anyway. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira