geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <>
Subject [jira] Created: (GERONIMO-3814) NPE in GBeanOverride
Date Tue, 05 Feb 2008 18:20:08 GMT
NPE in GBeanOverride

                 Key: GERONIMO-3814
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.0.2, 2.1
         Environment: Apache Harmony
            Reporter: Vasily Zakharov

There's a flaw in org.apache.geronimo.system.configuration.GBeanOverride:

getValue(), lines 388-389:
PropertyEditor editor = loadPropertyEditor(attribute, classLoader);

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.

View raw message