Saurav Sarkar created HTTPCLIENT-1463:
-----------------------------------------

             Summary: Connection open error
                 Key: HTTPCLIENT-1463
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1463
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2.6
         Environment: Android 4.0.3. I think it ships 4.1.1
            Reporter: Saurav Sarkar
            Priority: Critical


In my Android client i connect to Open CMIS server and then to the 
corresponding repositories.

I am not sure about the version of HTTPclient with Android 4.0.3

I am trying to authenticate using X 509 certifcate. After the authentication i 
face the issue on next http call. Below is the stack trace

java.lang.IllegalStateException: Connection already open.
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at 
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
at 
org.apache.chemistry.opencmis.client.bindings.spi.http.AbstractApacheClientHttpInvoker.invoke(AbstractApacheClientHttpInvoker.java:256)
at 
org.apache.chemistry.opencmis.client.bindings.spi.http.AbstractApacheClientHttpInvoker.invokeGET(AbstractApacheClientHttpInvoker.java:78)
at 
org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.read(AbstractBrowserBindingService.java:342)
at 
org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.getTypeDefinitionInternal(AbstractBrowserBindingService.java:454)
at 
org.apache.chemistry.opencmis.client.bindings.spi.browser.ClientTypeCacheImpl.getTypeDefinition(ClientTypeCacheImpl.java:43)
at 
org.apache.chemistry.opencmis.commons.impl.JSONConverter.convertSuccinctProperties(JSONConverter.java:2101)
at 
org.apache.chemistry.opencmis.commons.impl.JSONConverter.convertObject(JSONConverter.java:1844)
at 
org.apache.chemistry.opencmis.client.bindings.spi.browser.ObjectServiceImpl.getObject(ObjectServiceImpl.java:276)
at 
org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:500)

Best Regards, Saurav



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to