You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NPE while try to use abstract beans with optional properties [SPR-14474] #19043
Since spring 4.3 there is NPE when i try to use abstract beans with optional properties.
NPE was thrown when trying to create bean with parent abstract bean without optional property.
Pls, see attached files (complete example present at github)
This turns out to be a gap in our new BeanWrapperImpl.setBeanInstance method: It does not expose the given object as a root object for exception message purposes. Fixed in master now; to be backported to 4.3.2 later today.
Activity
spring-projects-issues commentedon Jul 20, 2016
Juergen Hoeller commented
This turns out to be a gap in our new
BeanWrapperImpl.setBeanInstancemethod: It does not expose the given object as a root object for exception message purposes. Fixed in master now; to be backported to 4.3.2 later today.