Throw exception instead of assert on nullptr

Merge request reports

Loading