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
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
The HttpJson server streaming callable causes a NullPointerException (NPE) when processing responses containing Any type values. This is because the TypeRegistry in CallOptions is typically null, which is passed to ProtoMessageResponseParser.parse() within HttpJsonClientCallImpl, resulting in NPE.
For example, Spanner's BatchWriteResponse includes a Status field with an Any type details value. Consequently, when the server returns an error, the response parsing results in NPE.
The HttpJson server streaming callable causes a NullPointerException (NPE) when processing responses containing
Anytype values. This is because theTypeRegistryinCallOptionsis typicallynull, which is passed toProtoMessageResponseParser.parse()within HttpJsonClientCallImpl, resulting in NPE.For example, Spanner's BatchWriteResponse includes a Status field with an
Anytypedetailsvalue. Consequently, when the server returns an error, the response parsing results in NPE.Please take a look at a concrete example in googleapis/google-cloud-java#12247 for detailed reproduction steps.