[mod_cluster-issues] [JBoss JIRA] Created: (MODCLUSTER-183) NPE when overriding default load metric in ModClusterListener

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Wed Aug 25 17:07:11 EDT 2010


NPE when overriding default load metric in ModClusterListener
-------------------------------------------------------------

                 Key: MODCLUSTER-183
                 URL: https://jira.jboss.org/browse/MODCLUSTER-183
             Project: mod_cluster
          Issue Type: Bug
    Affects Versions: 1.1.0.CR3
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
             Fix For: 1.1.1.Final


Tomcat/JBW's IntrospectionUtils doesn't handle properties of type Class.  Consequently, if you try to override the loadMetricClass, you end up with a NullPointerException during startup, since the property value is read as a null.  This property needs to be a String, rather than a Class.

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

        


More information about the mod_cluster-issues mailing list