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
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
Any
type values. This is because theTypeRegistry
inCallOptions
is typicallynull
, which is passed toProtoMessageResponseParser.parse()
within HttpJsonClientCallImpl, resulting in NPE.For example, Spanner's BatchWriteResponse includes a Status field with an
Any
typedetails
value. Consequently, when the server returns an error, the response parsing results in NPE.Please take a look at a concrete example in googleapis/java-spanner#3640 for detailed reproduction steps.
The text was updated successfully, but these errors were encountered: