-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
api: firestoreIssues related to the googleapis/java-firestore API.Issues related to the googleapis/java-firestore API.
Description
Description
When using the Firestore emulator with the latest version, an IllegalArgumentException is thrown from FirestoreOptions$EmulatorCredentials.getAuthenticationType(), and EnabledTraceUtil.addSettingsAttributesToCurrentSpan() now calls this method. As a consequence, the emulator starts, but any attempt to run a Query will fail.
Library version
We are using com.google.cloud:libraries-bom:26.53.0 which is downloading com.google.cloud:google-cloud-firestore:3.30.3
Full stacktrace
java.lang.IllegalArgumentException: Not supported
at com.google.cloud.firestore.FirestoreOptions$EmulatorCredentials.getAuthenticationType(FirestoreOptions.java:316)
at com.google.cloud.firestore.telemetry.EnabledTraceUtil.addSettingsAttributesToCurrentSpan(EnabledTraceUtil.java:324)
at com.google.cloud.firestore.telemetry.EnabledTraceUtil.startSpan(EnabledTraceUtil.java:377)
at com.google.cloud.firestore.telemetry.EnabledTraceUtil.startSpan(EnabledTraceUtil.java:45)
at com.google.cloud.firestore.StreamableQuery.get(StreamableQuery.java:111)
at com.google.cloud.firestore.Query.get(Query.java:1737)
[...]
Metadata
Metadata
Assignees
Labels
api: firestoreIssues related to the googleapis/java-firestore API.Issues related to the googleapis/java-firestore API.