geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-3814) NPE in GBeanOverride
Date Wed, 12 Mar 2008 18:58:46 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods updated GERONIMO-3814:
-----------------------------------

      Component/s: core
    Fix Version/s: 2.2
                   2.1.1

> 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.


Mime
View raw message