You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)",
The text was updated successfully, but these errors were encountered:
Hi Swati,
The objectore application currently uses Jclouds 2.3.0 version for all the supported cloud providers including GCP. To reproduce the reported error, I deployed the application with both the version of jclouds (2.3.0 and 2.2.1) in gcp landscape. All the operations are working fine (upload, download, listing of blobs and delete).
Please consider upgrading the JCloud version to 2.3.0
Upgrading will have to go through approval process, which is time taking. If things work fine in 2.2.1 version, then there is no need to upgrade as per my understanding. But anyways, thanks for the suggestion :) Just to inform you we also use google guava 19.0 to support azure landscape, is that causing any issue in gcp?
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)",
The text was updated successfully, but these errors were encountered: