Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1428 invoked from network); 12 Mar 2008 19:00:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2008 19:00:27 -0000 Received: (qmail 60892 invoked by uid 500); 12 Mar 2008 19:00:18 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 60816 invoked by uid 500); 12 Mar 2008 19:00:18 -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 60789 invoked by uid 99); 12 Mar 2008 19:00:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2008 12:00:18 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2008 18:59:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 85F73234C092 for ; Wed, 12 Mar 2008 11:58:46 -0700 (PDT) Message-ID: <1384561289.1205348326534.JavaMail.jira@brutus> Date: Wed, 12 Mar 2008 11:58:46 -0700 (PDT) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (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-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 ] Donald Woods reassigned GERONIMO-3814: -------------------------------------- Assignee: Donald Woods > 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.0.2, 2.1, 2.1.1, 2.2 > Environment: Apache Harmony > Reporter: Vasily Zakharov > Assignee: Donald Woods > Fix For: 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. - You can reply to this email to add a comment to the issue online.