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

Fabian Lange updated JCLOUDS-522:
---------------------------------

    Description: 
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]


  was:
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]



> 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.2#6252)

Reply via email to