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

After upgrading to 2.1.0.Final metrics stoped working

    Details

      Description

      2018-08-16 07:21:38,532 ERROR [io.undertow.request] (default I/O-5) UT005071: Undertow request failed HttpServerExchange{ GET /metrics request

      {X-apikey=[xxxyyyzzz], Host=[localhost:8080]}

      response {}}: java.lang.NullPointerException
      at org.wildfly.swarm.microprofile.metrics.runtime.MetricsHttpHandler.handleRequest(MetricsHttpHandler.java:63)
      at org.wildfly.swarm.microprofile.health.runtime.HttpContexts.handleRequest(HttpContexts.java:74)
      at org.wildfly.swarm.microprofile.health.runtime.SecureHttpContexts.handleRequest(SecureHttpContexts.java:83)
      at org.wildfly.swarm.microprofile.openapi.runtime.OpenApiHttpHandler.handleRequest(OpenApiHttpHandler.java:65)
      at org.wildfly.extension.undertow.Host$HostRootHandler.handleRequest(Host.java:345)
      at io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:64)
      at io.undertow.server.handlers.error.SimpleErrorPageHandler.handleRequest(SimpleErrorPageHandler.java:78)
      at io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:49)
      at org.wildfly.extension.undertow.Server$DefaultHostHandler.handleRequest(Server.java:189)
      at io.undertow.server.handlers.ChannelUpgradeHandler.handleRequest(ChannelUpgradeHandler.java:211)
      at io.undertow.server.handlers.DisallowedMethodsHandler.handleRequest(DisallowedMethodsHandler.java:61)
      at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
      at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:254)
      at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)
      at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59)
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)

        Gliffy Diagrams

          Attachments

          1. EventResource.java
            0.7 kB
          2. microprofile-config.properties
            0.1 kB
          3. pom.xml
            7 kB

            Activity

              People

              • Assignee:
                mszynkie Michal Szynkiewicz
                Reporter:
                peter.ivarsson Peter Ivarsson
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: