Add asserts for static analyzers

Static analyzers think these can be null and misidentify errors, so adding asserts to show nulls aren't possible.

Merge request reports

Loading