**[Stéphane Nicoll](https://jira.spring.io/secure/ViewProfile.jspa?name=snicoll)** opened **[SPR-12024](https://jira.spring.io/browse/SPR-12024?redirect=false)** and commented A candidate bean instance can be actually `null`. The resolution of #15179 introduced a potential null deference in such a case --- **Affects:** 4.1 RC1 **Issue Links:** - #15179 Add support for `@javax`.annotation.Priority as alternative to `@Primary` **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/e849bc3e9029b6e572dc3b501c5779ea1da3b726