You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Udayakumar Dhansingh (JIRA)" <ji...@apache.org> on 2016/07/19 20:25:20 UTC

[jira] [Created] (JCLOUDS-1144) BlobStore::blobMetadata always returns null for Google Cloud Storage ...

Udayakumar Dhansingh created JCLOUDS-1144:
---------------------------------------------

             Summary: BlobStore::blobMetadata always returns null for Google Cloud Storage ...
                 Key: JCLOUDS-1144
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1144
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-labs-google
    Affects Versions: 1.9.2
         Environment: JDK 1.8
            Reporter: Udayakumar Dhansingh
            Priority: Blocker
             Fix For: 1.9.


final BlobMetadata blobMetadata = blobStore.blobMetadata(containerName, blobStorePath);
ContentMetadata contentMetadata = blobMetadata.getContentMetadata();  // This statement will throw NullPointerException when run with Google Cloud Storage.

Upon listing objects using 
blobStore.list(containerName, (recursive) ? listContainerOptions.recursive() : listContainerOptions);

I can see metadata through "StorageMetadata"

Looks like bug is in blobMetadata.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)