java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists

Google Groups | Michael Kidd | 2 years ago
  1. 0

    0.8.0-rc3 Jerseyclient exception

    Google Groups | 2 years ago | Michael Kidd
    java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists
  2. 0

    0.8.0-rc3 IllegalArgumentException using JerseyClient with a webtarget having a registered component

    GitHub | 2 years ago | ESPNMichaelKidd
    java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists
  3. 0

    Metrics registry duplicate metric issue (regression).

    GitHub | 2 years ago | jshort
    java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.test-client.available-connections already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 832#142754618

    GitHub | 1 year ago | gautampriya
    java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.cs.available-connections already exists
  6. 0

    Metrics registry duplicate metric issue

    GitHub | 1 year ago | gautampriya
    java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.cs.available-connections already exists

  1. Nikolay Rybak 2 times, last 2 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists

    at com.codahale.metrics.MetricRegistry.register()
  2. Metrics Core
    MetricRegistry.register
    1. com.codahale.metrics.MetricRegistry.register(MetricRegistry.java:91)
    1 frame
  3. Metrics Integration for Apache HttpClient
    InstrumentedHttpClientConnectionManager.<init>
    1. com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager.<init>(InstrumentedHttpClientConnectionManager.java:57)
    1 frame
  4. Dropwizard HTTP Client
    JerseyClientBuilder$1.getConnector
    1. io.dropwizard.client.HttpClientBuilder.createConnectionManager(HttpClientBuilder.java:278)
    2. io.dropwizard.client.HttpClientBuilder.build(HttpClientBuilder.java:173)
    3. io.dropwizard.client.JerseyClientBuilder$1.getConnector(JerseyClientBuilder.java:317)
    3 frames
  5. jersey-core-client
    ClientConfig$State$3.get
    1. org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:414)
    2. org.glassfish.jersey.client.ClientConfig$State.access$000(ClientConfig.java:87)
    3. org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:119)
    4. org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:116)
    4 frames
  6. Jersey Core
    Values$LazyValueImpl.get
    1. org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:340)
    1 frame
  7. jersey-core-client
    JerseyInvocation$Builder.get
    1. org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:722)
    2. org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:284)
    3. org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:126)
    4. org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:98)
    5. org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:91)
    6. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408)
    7. org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:308)
    7 frames
  8. jerseyclient
    TestApplication.run
    1. jerseyclient.TestApplication.run(TestApplication.java:31)
    2. jerseyclient.TestApplication.run(TestApplication.java:1)
    2 frames
  9. Dropwizard
    Application.run
    1. io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
    2. io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
    3. io.dropwizard.cli.Cli.run(Cli.java:70)
    4. io.dropwizard.Application.run(Application.java:73)
    4 frames
  10. jerseyclient
    TestApplication.main
    1. jerseyclient.TestApplication.main(TestApplication.java:18)
    1 frame