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 Sonatype JIRA by Devendra Sharma, 1 year ago
via Sonatype JIRA by Rich Seddon, 1 month ago
via Sonatype JIRA by Benjamin Bentmann, 1 year ago
via Sonatype JIRA by Adrian Gonzalez, 1 year ago
via Stack Overflow by Jeremy Belolo
, 1 year ago
Timeout waiting for connection from pool
via GitHub by ilaipi
, 2 years ago
Timeout waiting for connection from pool
org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:286)	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1.get(PoolingHttpClientConnectionManager.java:263)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:190)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)	at org.sonatype.nexus.repository.httpclient.FilteredHttpClient$1.call(FilteredHttpClient.java:182)	at org.sonatype.nexus.repository.httpclient.FilteredHttpClient$1.call(FilteredHttpClient.java:1)	at org.sonatype.nexus.repository.httpclient.FilteredHttpClient.filter(FilteredHttpClient.java:99)	at org.sonatype.nexus.repository.httpclient.FilteredHttpClient.execute(FilteredHttpClient.java:178)	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.execute(ProxyFacetSupport.java:281)	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.fetch(ProxyFacetSupport.java:221)	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.fetch(ProxyFacetSupport.java:201)	at com.sonatype.nexus.repository.npm.internal.NpmProxyFacetImpl.fetch(NpmProxyFacetImpl.java:62)	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.get(ProxyFacetSupport.java:163)	at org.sonatype.nexus.repository.proxy.ProxyHandler.handle(ProxyHandler.java:48)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context$proceed$17.call(Unknown Source)	at com.sonatype.nexus.repository.npm.internal.NpmProxyRecipe$_closure1.doCall(NpmProxyRecipe.groovy:140)	at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.Closure.call(Closure.java:426)	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:53)	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:105)	at com.sun.proxy.$Proxy121.handle(Unknown Source)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.http.PartialFetchHandler.handle(PartialFetchHandler.java:55)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.cache.NegativeCacheHandler.handle(NegativeCacheHandler.java:50)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at com.sonatype.nexus.repository.npm.internal.NpmHandlers$1.handle(NpmHandlers.java:110)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context.start(Context.java:102)	at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)	at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)	at com.sonatype.nexus.repository.npm.internal.NpmProxyFacetImpl.retrievePackageRoot(NpmProxyFacetImpl.java:332)	at com.sonatype.nexus.repository.npm.internal.NpmProxyFacetImpl.retrievePackageVersion(NpmProxyFacetImpl.java:295)	at com.sonatype.nexus.repository.npm.internal.NpmProxyFacetImpl.getUrl(NpmProxyFacetImpl.java:135)	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.fetch(ProxyFacetSupport.java:201)	at com.sonatype.nexus.repository.npm.internal.NpmProxyFacetImpl.fetch(NpmProxyFacetImpl.java:62)	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.get(ProxyFacetSupport.java:163)	at org.sonatype.nexus.repository.proxy.ProxyHandler.handle(ProxyHandler.java:48)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context$proceed$17.call(Unknown Source)	at com.sonatype.nexus.repository.npm.internal.NpmProxyRecipe$_closure1.doCall(NpmProxyRecipe.groovy:140)	at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1084)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.Closure.call(Closure.java:426)	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:53)	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:105)	at com.sun.proxy.$Proxy121.handle(Unknown Source)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.http.PartialFetchHandler.handle(PartialFetchHandler.java:55)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.cache.NegativeCacheHandler.handle(NegativeCacheHandler.java:50)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at com.sonatype.nexus.repository.npm.internal.NpmHandlers$1.handle(NpmHandlers.java:110)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context.start(Context.java:102)	at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)	at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)	at org.sonatype.nexus.repository.group.GroupHandler.getFirst(GroupHandler.java:118)	at org.sonatype.nexus.repository.group.GroupHandler.doGet(GroupHandler.java:95)	at org.sonatype.nexus.repository.group.GroupHandler.handle(GroupHandler.java:79)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context.start(Context.java:102)	at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)	at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198)	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160)	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)	at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:71)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)	at org.sonatype.nexus.security.SecurityFilter.executeChain(SecurityFilter.java:85)	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)	at org.sonatype.nexus.security.SecurityFilter.doFilterInternal(SecurityFilter.java:101)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:63)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.internal.web.EnvironmentFilter.doFilter(EnvironmentFilter.java:97)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.DynamicFilterPipeline.dispatch(DynamicFilterPipeline.java:104)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)	at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)	at org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:175)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)	at org.eclipse.jetty.server.Server.handle(Server.java:517)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)	at java.lang.Thread.run(Thread.java:745)