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

Samebug tips

  1. ,
    Expert tip

    This bug happens on jenkins 2.1 with gitLab plugin 1.2.2, try updating plugin to 1.2.3 or further.

Solutions on the web

via JIRA by Cédric Fontin, 1 year ago
Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
via Google Groups by Charles, 1 year ago
Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
via Google Groups by Unknown author, 5 months ago
Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
via GitHub by Abdull
, 1 year ago
Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
via Stack Overflow by Sandip Das
, 1 year ago
Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
via Google Groups by Unknown author, 1 year ago
Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before
java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.	at org.apache.http.util.Asserts.check(Asserts.java:34)	at org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:160)	at org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:142)	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:423)	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:91)	at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)	at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:571)	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:532)	at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:450)	at org.obiba.mica.user.UserProfileService.executeQuery(UserProfileService.java:107)	at org.obiba.mica.user.UserProfileService.getUserProfileTranslations(UserProfileService.java:88)	at org.obiba.mica.micaConfig.rest.MicaConfigResource.getTranslation(MicaConfigResource.java:133)	at org.obiba.mica.micaConfig.rest.MicaConfigResource$$FastClassBySpringCGLIB$$333faf23.invoke()	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649)	at org.obiba.mica.micaConfig.rest.MicaConfigResource$$EnhancerBySpringCGLIB$$c39eafb1.getTranslation()	at org.obiba.mica.micaConfig.rest.MicaConfigResource$$FastClassBySpringCGLIB$$333faf23.invoke()	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649)	at org.obiba.mica.micaConfig.rest.MicaConfigResource$$EnhancerBySpringCGLIB$$de736047.getTranslation()	at sun.reflect.GeneratedMethodAccessor1397.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:172)	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:303)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:316)	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:286)	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1073)	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:377)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)	at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.obiba.mica.config.WebConfiguration$NoTraceFilter.doFilter(WebConfiguration.java:264)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:224)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:300)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.obiba.shiro.web.filter.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:129)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:103)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)	at org.eclipse.jetty.server.Server.handle(Server.java:497)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)	at java.lang.Thread.run(Thread.java:745)