Skip to content
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

NPE for alias resolved to null in SimpleAliasRegistry [SPR-13016] #17607

Closed
spring-issuemaster opened this issue May 12, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented May 12, 2015

David J. M. Karlsen opened SPR-13016 and commented

UseCase:
I have to override a property (during integration-testing) to be null instead of another value defined in a propertyfile for use with the propertyplaceholderconfigurer.
When doing so this will result in a NPE at SimpleAliasRegistry in line 125 here:

if (resolvedAlias.equals(resolvedName)) {
					this.aliasMap.remove(alias);
				}

because resolvedAlias is null


Affects: 3.2.13, 4.1.6

Backported to: 3.2.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.