Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions