huangwenkan9 opened a new issue #9641:
URL: https://github.com/apache/dubbo/issues/9641


   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [x] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ### Steps to reproduce this issue
   
   see #8793, #8792
   
   ### Cause
   
   see #9636 code
   
   ```
   ModuleModel moduleModel = DubboBeanUtils.getModuleModel(beanFactory);
   ```
   this moduleModel is default moduleModel, so internal moduleModel is not bind 
 spring context.
   
   when user custom SPI and inject spring bean, default moduleModel is normal 
but internal moduleModel result in NPE
   
   because user custom SPI can create instance in both default moduleModel and 
internal moduleModel
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to