Checks if the argument is null and throws an InvalidInitArgumentsException if it is.
null
This method call is ignored in non-development builds.