BeanWrapperImpl NPE in setWrappedInstance after invoking getPropertyValue #29681
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: regression
A bug that is also a regression
Milestone
I was trying to invoke
setWrappedInstance
to set a new object onBeanWrapperImpl
, but I gotNullPointerException
after invokinggetPropertyValue
.Below is how I reproduce this issue:
LightSaber
,Person
,Jedi
define:My test code:
Error Output:
The text was updated successfully, but these errors were encountered: