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

Fix for NPE in MicronautBeanFactory #159

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

arixmkii
Copy link
Contributor

Fixes #156 .

Added simple null check before dereferencing. Will fall through to throwing NoSuchBeanDefinitionException if reference is null (which seems to be expected behavior at least by some of Spring applications).

@CLAassistant
Copy link

CLAassistant commented Jan 21, 2021

CLA assistant check
All committers have signed the CLA.

@graemerocher graemerocher merged commit dbf8b28 into micronaut-projects:master Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE in MicronautBeanFactory.getBeanDefinition
3 participants