Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.2.0
-
None
Description
If the ComponentFactory.newInstance method cannot create a component instance, null must not be returned but a ComponentException must be thrown as described in Section 112.5.5, Factory Component, of the DS Specification:
If SCR is unable to satisfy the component
configuration given the component properties and the Dictionary argument
to newInstance, the newInstance method must throw a
ComponentException.