We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8b2d1 commit 1e7e72eCopy full SHA for 1e7e72e
firebase-firestore/src/main/java/com/google/firebase/firestore/UserDataReader.java
@@ -385,7 +385,9 @@ private void parseSentinelFieldValue(
385
* not be included in the resulting parsed data.
386
*/
387
public Value parseScalarValue(Object input, ParseContext context) {
388
- if (input.getClass().isArray()) {
+ if (input == null) {
389
+ return Values.NULL_VALUE;
390
+ } else if (input.getClass().isArray()) {
391
throw context.createError("Arrays are not supported; use a List instead");
392
} else {
393
try {
0 commit comments