You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2015/10/26 04:42:28 UTC

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

     [ https://issues.apache.org/jira/browse/JCLOUDS-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Gaul updated JCLOUDS-522:
--------------------------------

We have removed the legacy "swift" provider.  Please test the modern "openstack-swift" provider which includes many fixes and enhancements and open a new issue if your problem persists.

> 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
>              Labels: swift
>
> similar to #JCLOUDS-521 getObject does not return null but 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.3.4#6332)