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

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Wed Apr 13 08:25:33 EDT 2011


     [ https://issues.jboss.org/browse/MODCLUSTER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere updated MODCLUSTER-183:
-------------------------------------------

        Fix Version/s: 1.0.10
    Affects Version/s: 1.0.9


> NPE when overriding default load metric in ModClusterListener
> -------------------------------------------------------------
>
>                 Key: MODCLUSTER-183
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-183
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.0.9, 1.1.0.CR3
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>             Fix For: 1.0.10, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the mod_cluster-issues mailing list