[jboss-jira] [JBoss JIRA] Created: (JBJMX-110) Logger bug in org.jboss.mx.server.MBeanServerlImpl

v a (JIRA) jira-events at lists.jboss.org
Mon Aug 25 03:26:39 EDT 2008


Logger bug in org.jboss.mx.server.MBeanServerlImpl
--------------------------------------------------

                 Key: JBJMX-110
                 URL: https://jira.jboss.org/jira/browse/JBJMX-110
             Project: JBoss JMX
          Issue Type: Bug
    Affects Versions: JBossAS-4.0.0, JBossAS-5.0 Alpha
         Environment: Jboss 5.0.0.CR1
            Reporter: v a
            Priority: Minor


org.jboss.mx.server.MBeanServerlImpl:
In the function protected Object instantiate(String className, ClassLoader cl, Object[] params, String[] signature) in catch section (line 1246). The order of logging and calling handleInstantiateExceptions is incorrect:
catch (Throwable t)
{
    handleInstantiateExceptions(t, className);
    log.error("Unhandled exception instantiating class: " + className, t);
    return null;
}

handleInstantiateExceptions always throws an exception therefore log.error will be never called.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list