In case of BeanInstanceCreationException
, clear resolution stack to avoid "Cyclic call while resolving $beanDefinition"
#110
Labels
Milestone
In the case of
BeanInstanceCreationException
, the bean definitions in the stack inResolutionStack
are not popped out. The next time I try to get a bean from the context, I get the error:Cyclic call while resolving $beanDefinition
.Thinking
BeanInstanceCreationException
must be caught to trigger the clearing of the stack and then re-thrown.The text was updated successfully, but these errors were encountered: