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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Michael Kidd, 10 months ago
A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists
via GitHub by ESPNMichaelKidd
, 2 years ago
A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists
via GitHub by gautampriya
, 2 years ago
A metric named org.apache.http.conn.HttpClientConnectionManager.cs.available-connections already exists
via GitHub by gautampriya
, 1 year ago
A metric named org.apache.http.conn.HttpClientConnectionManager.cs.available-connections already exists
via GitHub by jshort
, 2 years ago
A metric named org.apache.http.conn.HttpClientConnectionManager.test-client.available-connections already exists
via GitHub by GoldenZero
, 2 months ago
A metric named clnt.dispatcher.serial.queue_size already exists
java.lang.IllegalArgumentException: A metric named org.apache.http.conn.HttpClientConnectionManager.jerseyclient.available-connections already exists
at com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager.(InstrumentedHttpClientConnectionManager.java:57)
at io.dropwizard.client.HttpClientBuilder.createConnectionManager(HttpClientBuilder.java:278)
at io.dropwizard.client.HttpClientBuilder.build(HttpClientBuilder.java:173)
at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:414)
at org.glassfish.jersey.client.ClientConfig$State.access$000(ClientConfig.java:87)
at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:119)
at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:722)
at org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:284)
at org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:126)
at org.glassfish.jersey.client.JerseyInvocation.(JerseyInvocation.java:98)
at org.glassfish.jersey.client.JerseyInvocation.(JerseyInvocation.java:91)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:408)
at jerseyclient.TestApplication.run(TestApplication.java:31)
at jerseyclient.TestApplication.run(TestApplication.java:1)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
at io.dropwizard.cli.Cli.run(Cli.java:70)
at io.dropwizard.Application.run(Application.java:73)
at jerseyclient.TestApplication.main(TestApplication.java:18)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
5 times, 9 months ago
2 times, 1 day ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.