Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7443

NullPointerException when gauges is set to false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide

      Disable metrics globally or set gauges=true

      Show
      Disable metrics globally or set gauges=true

      When metrics are enabled with gauges=false and histograms=true, the following NullPointerException is thrown

      Caused by: java.lang.NullPointerException: Cannot invoke "org.infinispan.commons.stat.CounterTracker.increment()" because "this.asyncRequests" is null
      	at org.infinispan.remoting.transport.jgroups.JGroupsMetricsManagerImpl$DestinationMetrics.incrementAsyncRequests(JGroupsMetricsManagerImpl.java:284)
      	at org.infinispan.remoting.transport.jgroups.JGroupsMetricsManagerImpl.recordMessageSent(JGroupsMetricsManagerImpl.java:126)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$sendCommandToAll$12(JGroupsTransport.java:1332)
      

      Original reported: https://github.com/keycloak/keycloak/discussions/33788

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: