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 2013/10/09 07:19:49 UTC
[jira] [Resolved] (JCLOUDS-339) jclouds throws spurious exception
when creating zero-length blobs with Atmos
[ https://issues.apache.org/jira/browse/JCLOUDS-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Gaul resolved JCLOUDS-339.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.3
1.7.0
> jclouds throws spurious exception when creating zero-length blobs with Atmos
> ----------------------------------------------------------------------------
>
> Key: JCLOUDS-339
> URL: https://issues.apache.org/jira/browse/JCLOUDS-339
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-blobstore
> Affects Versions: 1.6.2
> Reporter: Andrew Gaul
> Assignee: Andrew Gaul
> Fix For: 1.7.0, 1.6.3
>
>
> Atmos does not return a location when creating zero-length blobs and jclouds fails when looking for a non-existent location header. Tested against Atmos Online:
> {{noformat}}
> - >> POST https://api.atmosonline.com/rest/namespace/xxxxxxxxxxxxxxxxxxxxx/remote-file HTTP/1.1
> - >> Expect: 100-continue
> - >> Accept: */*
> - >> x-emc-wschecksum: MD5/0/D41D8CD98F00B204E9800998ECF8427E
> - >> x-emc-uid: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> - >> Date: Tue, 08 Oct 2013 21:38:51 GMT
> - >> x-emc-signature: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> - >> Content-Type: application/unknown
> - >> Content-Length: 0
> - >> Content-MD5: 1B2M2Y8AsgTpgAmY7PhCfg==
> - << HTTP/1.1 201 null
> - << Date: Tue, 08 Oct 2013 21:38:51 GMT
> - << Connection: close
> - << Server: Apache
> Exception in thread "main" org.jclouds.http.HttpResponseException: no uri in headers or content
> at org.jclouds.http.functions.ParseURIFromListOrLocationHeaderIf20x.apply(ParseURIFromListOrLocationHeaderIf20x.java:76)
> at org.jclouds.http.functions.ParseURIFromListOrLocationHeaderIf20x.apply(ParseURIFromListOrLocationHeaderIf20x.java:42)
> at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
> at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
> at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
> at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
> at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
> at com.sun.proxy.$Proxy52.createFile(Unknown Source)
> at org.jclouds.atmos.util.AtmosUtils.putBlob(AtmosUtils.java:78)
> at org.jclouds.atmos.blobstore.AtmosBlobStore.putBlob(AtmosBlobStore.java:217)
> at org.jclouds.atmos.blobstore.AtmosBlobStore.putBlob(AtmosBlobStore.java:228)
> {{noformat}}
--
This message was sent by Atlassian JIRA
(v6.1#6144)