Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
Description
Method AbstractSpringOrchestraScope.registerDestructionCallback throws a NullPointerException if passed a bean that has aop:proxy attached to it.
The reason is that the bean-name passed is of form "scopedTarget.foo", but there is no such conversation - the conversation is named "foo".
This can presumably be triggered by having a destroy method defined for the bean.
However it also gets triggerred whenever there is a "destruction aware" BeanPostProcessor present in the spring context, eg by enabling
PersistenceAnnotationBeanPostProcessor
or
<context:annotation-config/>