Add null checks so object not found error message is displayed
Add null checks so object not found error message is displayed

https://github.com/cassproject/cass-editor/issues/546
Eduworks/CASS,Eduworks/CASS,cassproject/CASS,cassproject/CASS,cassproject/CASS