Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2154

NPE in MetricsHttpHandler.handleRequest

    Details

      Description

      In one of our tests, I'm seeing this NPE in MP Metrics:

      2018-08-28 17:30:10,852 ERROR [io.undertow.request] (default I/O-11) UT005071: Undertow request failed HttpServerExchange{ GET /metrics request {Connection=[Keep-Alive], Accept-Encoding=[gzip,deflate], User-Agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)], Host=[localhost:8080]} response {}}: java.lang.NullPointerException
              at org.wildfly.swarm.microprofile.metrics.runtime.MetricsHttpHandler.handleRequest(MetricsHttpHandler.java:63)
              at org.wildfly.extension.undertow.Host$HostRootHandler.handleRequest(Host.java:345)
              at io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:64)
              at ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: