Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14697

NPE when no prefix is defined in the microprofile-metrics-smallrye subsystem

    XMLWordPrintable

Details

    • Hide

      Using the standard configuration add the microprofile-metrics-smallrye subystem with no prefix and deploy an application.

      /extension=org.wildfly.extension.microprofile.metrics-smallrye:add
      /subsystem=microprofile-metrics-smallrye:add(exposed-subsystems=[*])
      
      Show
      Using the standard configuration add the microprofile-metrics-smallrye subystem with no prefix and deploy an application. /extension=org.wildfly.extension.microprofile.metrics-smallrye:add /subsystem=microprofile-metrics-smallrye:add(exposed-subsystems=[*])
    • Undefined

    Description

      The microprofile-metrics-smallrye subsystem allows an undefined prefix attribute to be added. In the add handler it sets the prefix to null if undefined. However the WildFlyMetricMetadata does not allow a null prefix resulting in a NullPointerException during deploy or boot of the server.

      Attachments

        Activity

          People

            jaslee@redhat.com Jason Lee
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: