You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2010/04/14 01:37:53 UTC
[jira] Closed: (GERONIMO-3814) NPE in GBeanOverride
[ 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