* [ 1909891 ] NPE when missing global model validator class

This commit is contained in:
Heng Sin Low 2008-03-07 23:50:46 +00:00
parent dc1183f706
commit eb305ea590
1 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,8 @@ public class ModelValidationEngine
//logging to db will try to init ModelValidationEngine again!
//log.log(Level.SEVERE, className + ": " + e.getMessage());
// System.err.println(e.toString());
missingModelValidationMessage = missingModelValidationMessage + e.toString() + " on client " + client.getName() + '\n';
missingModelValidationMessage = missingModelValidationMessage + e.toString() +
(client != null ? (" on client " + client.getName()) : " global") + '\n';
}
}