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

NPE when overriding default load metric in ModClusterListener

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.9, 1.1.0.CR3
    • Fix Version/s: 1.0.10, 1.1.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                pferraro Paul Ferraro
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: