This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
Core: ServiceOptions.setCredentials fails with ClassCastException when using UserCredentials #123
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
On line
java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
Line 221 in 6aa4476
instanceof QuotaProjectIdProvider
but the cast is toServiceAccountCredentials
therefore you getThe cast needs to be changed.
google-cloud-core
version 1.92.0The text was updated successfully, but these errors were encountered: