java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.

Google Groups | lidijaldo | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Invalid use of BasicClientConnManager: connection still allocated

    Google Groups | 3 years ago | lidijaldo
    java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
  2. 0

    Error: Target host must not be null, or set in parameters

    Stack Overflow | 4 years ago | smiley
    java.lang.IllegalStateException: Target host must not be null, or set in parameters.
  3. 0

    How to get JSON from URL

    Stack Overflow | 2 years ago | Malaika Khan
    java.lang.IllegalStateException: Target host must not be null, or set in parameters. scheme=null, host=null, path=maps.google.com/maps/api/geocode/json
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalStateException: Adapter is detached

    Stack Overflow | 3 years ago | John Error
    java.lang.IllegalStateException: Adapter is detached.
  6. 0

    Android: java.lang.IllegalStateException: Scheme 'http' not registered - error for an HTTPS call

    Stack Overflow | 2 years ago | Sunny
    java.lang.IllegalStateException: Scheme 'http' not registered.
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.IllegalStateException

    Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.

    at org.apache.http.impl.conn.BasicClientConnectionManager.getConnection()
  2. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)[httpclient-4.2.3.jar:4.2.3]
    2. org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)[httpclient-4.2.3.jar:4.2.3]
    3. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)[httpclient-4.2.3.jar:4.2.3]
    4. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)[httpclient-4.2.3.jar:4.2.3]
    5. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1066)[httpclient-4.2.3.jar:4.2.3]
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1044)[httpclient-4.2.3.jar:4.2.3]
    6 frames
  3. com.googlecode.sardine
    SardineImpl.exists
    1. com.googlecode.sardine.impl.SardineImpl.execute(SardineImpl.java:691)[sardine-314.jar:November 18 2011]
    2. com.googlecode.sardine.impl.SardineImpl.exists(SardineImpl.java:672)[sardine-314.jar:November 18 2011]
    2 frames
  4. si.najdi.edi
    WebDavManagerImpl.putFile
    1. si.najdi.edi.services.WebDavManagerImpl.checkAndCreateFolders(WebDavManagerImpl.java:130)[na:na]
    2. si.najdi.edi.services.WebDavManagerImpl.putFile(WebDavManagerImpl.java:80)[na:na]
    3. si.najdi.edi.services.WebDavManagerImpl.putFile(WebDavManagerImpl.java:105)[na:na]
    3 frames
  5. Unknown
    $WebDavManager_1ea1a8369ea1b3.putFile
    1. $WebDavManager_1ea1a8369ea393.putFile(Unknown Source)[na:na]
    2. $WebDavManager_1ea1a8369ea1b3.putFile(Unknown Source)[na:na]
    2 frames
  6. si.najdi.edi
    ModuleItems.dispatchComponentEvent
    1. si.najdi.edi.pages.ModuleItems.itemImageUpload(ModuleItems.java:1049)[na:na]
    2. si.najdi.edi.pages.ModuleItems.dispatchComponentEvent(ModuleItems.java)[na:na]
    2 frames
  7. org.apache.tapestry5
    ImmediateActionRenderResponseFilter.handle
    1. org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:932)[tapestry-core-5.3.7.jar:na]
    2. org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1117)[tapestry-core-5.3.7.jar:na]
    3. org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3100(ComponentPageElementImpl.java:61)[tapestry-core-5.3.7.jar:na]
    4. org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1062)[tapestry-core-5.3.7.jar:na]
    5. org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1059)[tapestry-core-5.3.7.jar:na]
    6. org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)[tapestry-ioc-5.3.7.jar:na]
    7. org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)[tapestry-ioc-5.3.7.jar:na]
    8. org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124)[tapestry-ioc-5.3.7.jar:na]
    9. org.apache.tapestry5.internal.structure.ComponentPageElementResourcesImpl.invoke(ComponentPageElementResourcesImpl.java:146)[tapestry-core-5.3.7.jar:na]
    10. org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1058)[tapestry-core-5.3.7.jar:na]
    11. org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:81)[tapestry-core-5.3.7.jar:na]
    12. org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)[tapestry-core-5.3.7.jar:na]
    12 frames
  8. Unknown
    $ComponentEventRequestHandler_1ea1a8369ea16c.handle
    1. $ComponentEventRequestHandler_1ea1a8369ea16c.handle(Unknown Source)[na:na]
    1 frame
  9. org.apache.tapestry5
    AjaxFilter.handle
    1. org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)[tapestry-core-5.3.7.jar:na]
    1 frame
  10. Unknown
    $ComponentEventRequestHandler_1ea1a8369ea16c.handle
    1. $ComponentEventRequestHandler_1ea1a8369ea16c.handle(Unknown Source)[na:na]
    1 frame
  11. org.apache.tapestry5
    UploadExceptionFilter.handle
    1. org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75)[tapestry-upload-5.3.7.jar:na]
    1 frame
  12. Unknown
    $ComponentEventRequestHandler_1ea1a8369ea16c.handle
    1. $ComponentEventRequestHandler_1ea1a8369ea16c.handle(Unknown Source)[na:na]
    1 frame
  13. org.apache.tapestry5
    TapestryModule$41.handle
    1. org.apache.tapestry5.services.TapestryModule$41.handle(TapestryModule.java:2476)[tapestry-core-5.3.7.jar:na]
    1 frame
  14. Unknown
    $ComponentEventRequestHandler_1ea1a8369ea0c9.handle
    1. $ComponentEventRequestHandler_1ea1a8369ea16c.handle(Unknown Source)[na:na]
    2. $ComponentEventRequestHandler_1ea1a8369ea0c9.handle(Unknown Source)[na:na]
    2 frames
  15. org.apache.tapestry5
    InitializeActivePageName.handleComponentEvent
    1. org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)[tapestry-core-5.3.7.jar:na]
    2. org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39)[tapestry-core-5.3.7.jar:na]
    2 frames
  16. Unknown
    $ComponentRequestHandler_1ea1a8369ea0cb.handleComponentEvent
    1. $ComponentRequestHandler_1ea1a8369ea0cb.handleComponentEvent(Unknown Source)[na:na]
    1 frame
  17. org.tynamo.security
    SecurityComponentRequestFilter.handleComponentEvent
    1. org.tynamo.security.SecurityComponentRequestFilter.handleComponentEvent(SecurityComponentRequestFilter.java:41)[tapestry-security-0.5.1.jar:0.5.1]
    1 frame
  18. Unknown
    $ComponentRequestHandler_1ea1a8369ea09e.handleComponentEvent
    1. $ComponentRequestFilter_1ea1a8369ea0c8.handleComponentEvent(Unknown Source)[na:na]
    2. $ComponentRequestHandler_1ea1a8369ea0cb.handleComponentEvent(Unknown Source)[na:na]
    3. $ComponentRequestHandler_1ea1a8369ea09e.handleComponentEvent(Unknown Source)[na:na]
    3 frames
  19. org.apache.tapestry5
    ComponentEventDispatcher.dispatch
    1. org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)[tapestry-core-5.3.7.jar:na]
    1 frame
  20. Unknown
    $Dispatcher_1ea1a8369ea09b.dispatch
    1. $Dispatcher_1ea1a8369ea0a1.dispatch(Unknown Source)[na:na]
    2. $Dispatcher_1ea1a8369ea09b.dispatch(Unknown Source)[na:na]
    2 frames
  21. org.apache.tapestry5
    RequestErrorFilter.service
    1. org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)[tapestry-core-5.3.7.jar:na]
    2. org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)[tapestry-core-5.3.7.jar:na]
    2 frames
  22. Unknown
    $RequestHandler_1ea1a8369ea09c.service
    1. $RequestHandler_1ea1a8369ea09c.service(Unknown Source)[na:na]
    1 frame
  23. org.apache.tapestry5
    TapestryModule$3.service
    1. org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)[tapestry-core-5.3.7.jar:na]
    1 frame
  24. Unknown
    $RequestHandler_1ea1a8369ea09c.service
    1. $RequestHandler_1ea1a8369ea09c.service(Unknown Source)[na:na]
    1 frame
  25. org.apache.tapestry5
    TapestryModule$2.service
    1. org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)[tapestry-core-5.3.7.jar:na]
    1 frame
  26. Unknown
    $RequestHandler_1ea1a8369ea09c.service
    1. $RequestHandler_1ea1a8369ea09c.service(Unknown Source)[na:na]
    1 frame
  27. org.apache.tapestry5
    StaticFilesFilter.service
    1. org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)[tapestry-core-5.3.7.jar:na]
    1 frame
  28. Unknown
    $RequestHandler_1ea1a8369ea07f.service
    1. $RequestHandler_1ea1a8369ea09c.service(Unknown Source)[na:na]
    2. $RequestHandler_1ea1a8369ea07f.service(Unknown Source)[na:na]
    2 frames
  29. org.apache.tapestry5
    MultipartServletRequestFilter.service
    1. org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)[tapestry-core-5.3.7.jar:na]
    2. org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)[tapestry-upload-5.3.7.jar:na]
    2 frames
  30. Unknown
    $HttpServletRequestHandler_1ea1a8369ea081.service
    1. $HttpServletRequestHandler_1ea1a8369ea081.service(Unknown Source)[na:na]
    1 frame
  31. org.got5.tapestry5
    AjaxUploadServletRequestFilter.service
    1. org.got5.tapestry5.jquery.services.AjaxUploadServletRequestFilter.service(AjaxUploadServletRequestFilter.java:27)[tapestry5-jquery-3.3.6.jar:na]
    1 frame
  32. Unknown
    $HttpServletRequestHandler_1ea1a8369ea081.service
    1. $HttpServletRequestHandler_1ea1a8369ea081.service(Unknown Source)[na:na]
    1 frame
  33. org.apache.tapestry5
    IgnoredPathsFilter.service
    1. org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)[tapestry-core-5.3.7.jar:na]
    1 frame
  34. Unknown
    $HttpServletRequestHandler_1ea1a8369ea081.service
    1. $HttpServletRequestFilter_1ea1a8369ea07b.service(Unknown Source)[na:na]
    2. $HttpServletRequestHandler_1ea1a8369ea081.service(Unknown Source)[na:na]
    2 frames
  35. org.tynamo.security
    SecurityConfiguration$1.call
    1. org.tynamo.security.services.impl.SecurityConfiguration$1.call(SecurityConfiguration.java:59)[tapestry-security-0.5.1.jar:0.5.1]
    2. org.tynamo.security.services.impl.SecurityConfiguration$1.call(SecurityConfiguration.java:54)[tapestry-security-0.5.1.jar:0.5.1]
    2 frames
  36. Shiro
    DelegatingSubject.execute
    1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.0.jar:1.2.0]
    2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.0.jar:1.2.0]
    3. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380)[shiro-core-1.2.0.jar:1.2.0]
    3 frames
  37. org.tynamo.security
    SecurityConfiguration.service
    1. org.tynamo.security.services.impl.SecurityConfiguration.service(SecurityConfiguration.java:54)[tapestry-security-0.5.1.jar:0.5.1]
    1 frame
  38. Unknown
    $HttpServletRequestHandler_1ea1a8369ea081.service
    1. $HttpServletRequestFilter_1ea1a8369ea07a.service(Unknown Source)[na:na]
    2. $HttpServletRequestHandler_1ea1a8369ea081.service(Unknown Source)[na:na]
    2 frames
  39. org.apache.tapestry5
    TapestryModule$1.service
    1. org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)[tapestry-core-5.3.7.jar:na]
    1 frame
  40. Unknown
    $HttpServletRequestHandler_1ea1a8369ea079.service
    1. $HttpServletRequestHandler_1ea1a8369ea081.service(Unknown Source)[na:na]
    2. $HttpServletRequestHandler_1ea1a8369ea079.service(Unknown Source)[na:na]
    2 frames
  41. org.apache.tapestry5
    TapestryFilter.doFilter
    1. org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)[tapestry-core-5.3.7.jar:na]
    1 frame
  42. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[jetty-security-8.1.9.v20130131.jar:8.1.9.v20130131]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)[jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    14. org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:126)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    15. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    16. org.eclipse.jetty.server.Server.handle(Server.java:368)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    17. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    18. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:943)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    19. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1004)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    20. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
    21. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
    22. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
    22 frames
  43. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
    2 frames
  44. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
    2 frames
  45. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)[na:1.7.0_03]
    1 frame