Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

JsonToProtoMessage.fillField can not handle null values  #1258

@kgoderis

Description

@kgoderis

JsonStreamWriter.append() fails when adding a JSONArray in which some fields are null because JsonToProtoMessage.fillField() does not handle null values returned by java.lang.Object val = json.get(exactJsonKeyName); (line 135).

null values should be supported because the Schema used to create the JsonStreamWriter could contain fields with a NULLABLE mode.

Metadata

Metadata

Assignees

Labels

api: bigquerystorageIssues related to the googleapis/java-bigquerystorage API.priority: p1Important 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions