-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- OS type and version: OSX and Linux
- Java version: OpenJDK 21
- artifact version(s): 2.56.0
Steps to reproduce
We have upgraded our spring boot app's dependency of
google-cloud-storage
from version 2.43.2 to 2.44.0
which has brought in gax-2.56.0, which now fails when our uber-jar attempts to start up
Code example
return StorageOptions.newBuilder()
.build()
.getService();Stack trace
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
at java.base/java.io.File.<init>(File.java:420)
at com.google.api.gax.core.GaxProperties.getBundleVersion(GaxProperties.java:142)
at com.google.api.gax.core.GaxProperties.<clinit>(GaxProperties.java:53)
at com.google.api.gax.rpc.ApiClientHeaderProvider$Builder.<init>(ApiClientHeaderProvider.java:146)
at com.google.api.gax.rpc.ApiClientHeaderProvider.newBuilder(ApiClientHeaderProvider.java:117)
at com.google.cloud.http.HttpTransportOptions.getInternalHeaderProviderBuilder(HttpTransportOptions.java:216)
at com.google.cloud.http.HttpTransportOptions.getHttpRequestInitializer(HttpTransportOptions.java:155)
at com.google.cloud.storage.spi.v1.HttpStorageRpc.<init>(HttpStorageRpc.java:127)
at com.google.cloud.storage.spi.v1.HttpStorageRpc.<init>(HttpStorageRpc.java:121)
at com.google.cloud.storage.HttpStorageOptions$HttpStorageRpcFactory.create(HttpStorageOptions.java:392)
at com.google.cloud.storage.HttpStorageOptions$HttpStorageRpcFactory.create(HttpStorageOptions.java:366)
at com.google.cloud.ServiceOptions.getRpc(ServiceOptions.java:602)
at com.google.cloud.storage.HttpStorageOptions.getStorageRpcV1(HttpStorageOptions.java:84)
at com.google.cloud.storage.StorageImpl.<init>(StorageImpl.java:129)
at com.google.cloud.storage.HttpStorageOptions$HttpStorageFactory.create(HttpStorageOptions.java:345)
at com.google.cloud.storage.HttpStorageOptions$HttpStorageFactory.create(HttpStorageOptions.java:316)
at com.google.cloud.ServiceOptions.getService(ServiceOptions.java:582)
Hope this helps and many thanks in advance!
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.