There were a few places where error messages were accessing properties of objects that were nil because of the error. Closes #1374
There were a few places where error messages were accessing properties of objects that were nil because of the error. Closes #1374