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
Fix NPE in WanConsistencyCheckIgnoredEvent #15400
In these cases, we fail fast, without assigning a
These MC events don't have tests and the NPE was caught on the
WanConsistencyCheckIgnoredEvent is sent to MC if - OS WAN is used - EE is used, but merkle trees are not enabled. In these cases we fail fast, without assigning a UUID to the consistency check request. AbstractWanAntiEntropyEventBase.toJson however expected a non-null UUID and was throwing NPE. It is fixed by sending "null" as UUID to MC. These MC events don't have tests and the NPE was caught on the MC side. MC replaces the JSON-based communication in 4.0, hence currently no point adding new tests to these JSON-based classes.