Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Unable to upload file in GCP landscape #13

Description

@SumanSwati

jcloud google-cloud-storage version: 2.2.1
Hi Team
We are going live on GCP, But we got into following issue while uploading to object-store. Can anyone help us?

This is the error we are getting when we are trying to upload to gcp:
org.jclouds.http.HttpResponseException: Error parsing input: while trying to invoke the method org.jclouds.json.gson.internal.JsonReaderInternalAccess.promoteNameToValue(com.google.gson.stream.JsonReader) of a null object loaded from static field org.jclouds.json.gson.internal.JsonReaderInternalAccess.INSTANCE\n{statusCode=200, message=OK, headers={Server=[UploadServer], X-GUploader-UploadID=[ADPycds3vHs9Ra-oE-ERMmpOy-Kq2khl1a4CaXqrE9L87owcxvHiJF3m1cGgY4Ax_8SRRRSJD8_yV9XhQ9m958z4RRrSuUNJ5g], Vary=[X-Origin, Origin], Date=[Wed, 01 Dec 2021 10:30:39 GMT]}, payload=[content=true, contentMetadata=[cacheControl=private, max-age=0, must-revalidate, no-transform, contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=1591, contentMD5=null, contentType=application/json; charset=UTF-8, expires=Wed Dec 01 10:30:39 UTC 2021], written=false, isSensitive=false]}",
"\tat org.jclouds.http.functions.ParseJson.apply(ParseJson.java:67)",
"\tat org.jclouds.http.functions.ParseJson.apply(ParseJson.java:41)",
"\tat org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)",
"\tat org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)",
"\tat org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)",
"\tat org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)",
"\tat com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)",
"\tat com.sun.proxy.$Proxy174.listObjects(Unknown Source)",
"\tat org.jclouds.googlecloudstorage.blobstore.GoogleCloudStorageBlobStore.list(GoogleCloudStorageBlobStore.java:189)",
"\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)",
"\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)",
"\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)",
"\tat java.lang.reflect.Method.invoke(Method.java:498)",
"\tat com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)",
"\tat com.sun.proxy.$Proxy103.list(Unknown Source)",
"\tat com.sap.bpm.pfs.objectstore.repository.ObjectStoreRepository.listFiles(ObjectStoreRepository.java:112)",
"\tat com.sap.bpm.pfs.objectstore.service.GCPObjectStoreService.listObjects(GCPObjectStoreService.java:62)",
"\tat com.sap.bpm.pfs.objectstore.service.GCPObjectStoreService.uploadFile(GCPObjectStoreService.java:50)",
"\tat com.sap.bpm.pfs.core.api.impl.DTPackageServiceImpl.persistFile(DTPackageServiceImpl.java:468)",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions