Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-183

NPE when overriding default load metric in ModClusterListener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.10, 1.1.1.Final
    • 1.0.9, 1.1.0.CR3
    • None
    • None

      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.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: