| My decorator (inadvertently) does not adhere to the specification. The specification says, in part:
The set of decorated types of a decorator includes all bean types of the managed bean which are Java interfaces, except for java.io.Serializable. The decorator bean class and its superclasses are not decorated types of the decorator.
So my decorator is directly extending the class of the bean it wants to decorate. That's wrong according to the above (I guess decorators can only decorate interfaces). However it still shouldn't give me a NullPointerException I don't think. The root issue is: SubclassedComponentInstantiator, line 79, returns null for my decorator. (My decorator is not providing the proper constructor, I guess.) |