Why inject a null bean when i use CustomScope? #6341
-
i am use CustomScope to define my scope,if the beanDefine is not in my scope i will return a null bean.i can use getBeansOfType method get all of bean,the collections has no null element.but it get NPE when if invoke the method of bean? i am confused why the null bean exist at the collections ?maybe it is a proxy but how can I judge that the proxy object of a bean is not null without NPE? |
Beta Was this translation helpful? Give feedback.
Answered by
graemerocher
Oct 16, 2021
Replies: 1 comment
-
Perhaps related to #6064 Report an issue with steps to reproduce and an example attached or supply info to the above issue |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Linindoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps related to #6064
Report an issue with steps to reproduce and an example attached or supply info to the above issue