zendframework/ZendSkeletonApplication — Issue #5: Issue in error view
Author: ivan-novakov
Created: 2011-11-20 16:10:54+00:00
State: open

If an error is being displayed and there is no associated exception, the following error occurs:

```
PHP Fatal error: Call to a member function getMessage() on a non-object in /home/commanche/projekty/zend/zf2tutorial/modules/Application/views/error/index.phtml on line 8
```

It seems that the isset() check on the exception property is not suitable, because it does not cover the case, when the exception property is set, but it's NULL.