EA-59445 null module from DataContext.
Diagnostic for EA-59441, NPE in create reference expression from text.
EA-58682 PIEAE, isValid for ref wasn't checked.
EA-58593 PIEAE, check isValid after commitDocument.