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

Michal Babacek (JIRA) jira-events at lists.jboss.org
Fri Jun 17 10:26:23 EDT 2011


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

Michal Babacek closed MODCLUSTER-183.
-------------------------------------



Verified on EWS 1.0.2 CR5 (*MOD_CLUSTER_1_0_10_GA_CP01*)

> 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