Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.0
-
Fix Version/s: 1.0.2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Currently if a service artifact throws an exception during construction, then the application fails with an unhelpful "unable to call setApp() on a null instance" exception from the GriffonApplicationHelper#enhance method.
The problem is that GriffonApplicationHelper#safeNewInstance eats the exception thrown from the constructor then returns null, which seems wrong.
Fixed with https://github.com/griffon/griffon/commit/187ed7d97a933d225d43d4e7a988dadbaf42f614