You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Fabian Lange (JIRA)" <ji...@apache.org> on 2014/04/02 14:28:14 UTC

[jira] [Created] (JCLOUDS-522) Swift API does not return null on getObject

Fabian Lange created JCLOUDS-522:
------------------------------------

             Summary: Swift API does not return null on getObject
                 Key: JCLOUDS-522
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-522
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-blobstore
            Reporter: Fabian Lange


similar to #JCLOUDS-521 getObject does not return null beut also propagate the 404 exception:

org.jclouds.http.HttpResponseException: command: GET https://10.102.4.11/swift/v1/docstore-b6efa548-45fe-480c-96fe-4ccfd8c15477/1-PDF HTTP/1.1 failed with response: HTTP/1.1 404 null; content: [NoSuchKey
]
	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.$Proxy71.getObject(Unknown Source) ~[na:na]




--
This message was sent by Atlassian JIRA
(v6.2#6252)