Fixed a null-pointer-exception

* Fixed a "Cannot read property 'ojslGroup' of null" that occured when logging a null value.