[
https://issues.apache.org/jira/browse/JCLOUDS-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Udayakumar Dhansingh updated JCLOUDS-1144:
------------------------------------------
Description:
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.
I've attached
was:
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.
> 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.
>
> Attachments: jclouds.bug_reporting.tests.zip
>
>
> 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.
> I've attached
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)