Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
AssertionError: INTERNAL ASSERTION FAILED: Encoded field value should not be null. #491
Writing FieldValue.increment(1) together with FieldValue.serverTimestamp() to document while being offline results in a crash the second time:
Steps to reproduce & Relevant Code:
When internet connection is not available:
java.lang.RuntimeException: Internal error in Firestore (19.0.2).
@schmidt-sebastian Can you take a look?
Here's an integration test you can use to reproduce:
We seem to be trying to serialize an unresolved ServerTimestamp while serializing the baseMutations for the mutation batch that contains the FieldValue.increment and it's failing... I'm not sure if this is expected or not.