[ https://issues.apache.org/jira/browse/JCLOUDS-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ignasi Barrera updated JCLOUDS-521: ----------------------------------- Component/s: jclouds-blobstore > Swift API does not return false on containerExists > -------------------------------------------------- > > Key: JCLOUDS-521 > URL: https://issues.apache.org/jira/browse/JCLOUDS-521 > Project: jclouds > Issue Type: Bug > Components: jclouds-blobstore > Reporter: Fabian Lange > Labels: swift > > I am using 1.8 Snapshot due to guava 16.0.1 requirement and the SwiftClient > api from org.apache.jclouds.api.swift. > the containerExists call throws an exception rather than returning false: > Caused by: org.jclouds.http.HttpResponseException: request: HEAD > https://10.102.4.11/swift/v1/docstore-19af332c-823b-4e9b-a92a-3f1381e856b8 > HTTP/1.1 failed with response: HTTP/1.1 404 null > at > org.jclouds.openstack.swift.handlers.ParseSwiftErrorFromHttpResponse.handleError(ParseSwiftErrorFromHttpResponse.java:55) > ~[swift-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:129) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:95) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:56) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at > org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123) > ~[jclouds-core-1.8.0-SNAPSHOT.jar:1.8.0-SNAPSHOT] > at com.sun.proxy.$Proxy160.containerExists(Unknown Source) ~[na:na] -- This message was sent by Atlassian JIRA (v6.2#6252)