Skip to content

CastClass exception (NullBean instead of 'null' value) when getting map of beans directly from ApplicationContext [SPR-16163] #20711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Nov 6, 2017 · 2 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 6, 2017

Francisco Lozano opened SPR-16163 and commented

#20582 was seemingly fixed for 5.0.1 for autowiring, but in that release when asking the app context directly for a map of beans of a given type (getBeansOfType), the problem remains.

Reproduced in spring-attic/spring-framework-issues#173.


Affects: 5.0.1

Issue Links:

Referenced from: commits 9649b0c

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

And here we go with the fix: it'll be available in the upcoming 5.0.2.BUILD-SNAPSHOT.

Thanks for your efforts in uncovering every corner of this :-)

@spring-projects-issues
Copy link
Collaborator Author

Francisco Lozano commented

Thanks to you for fixing so quickly !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants