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
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.
Alexander opened SPR-14474 and commented
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)
Affects: 4.3 GA, 4.3.1
Reference URL: https://github.com/chabapok/springBugDemo
Attachments:
Issue Links:
Referenced from: commits 938b56c, fe17f8d
The text was updated successfully, but these errors were encountered: