-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.4
-
Component/s: None
-
Labels:None
Adding null-check before incrementing metrics for bytesSerialized
Symptom: User serde-serialization logic can choose to serialize non-null objects to a null, which implies delete the value. In this case, current code tries to increment the metrics using the size of the null and fails with an NPE.
Cause: Current code tries to increment the bytesSerialized metrics using the size of the null and fails with an NPE.
Fix: Added logic to skip metric value update if serde returns null.
- links to