Fix NULL-reference due to diagnosticInformation being optional