wuyongCloud opened a new issue #9602:
URL: https://github.com/apache/dubbo/issues/9602


   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: master;  last 
commitId:65bd70b54c87539ccc843b938479f0b7c2ea8d20 
   * Operating System version: win10
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   使用的是 dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer
   1. 自定义Bean(MyServiceImpl)。xml注入spring容器
   2. 自定义Myfilter实现 Filter;META-INF/debbo 
com.alibaba.dubbo.rpc.Filter(myfilter=org.apache.dubbo.demo.filter.Myfilter)
   3. Myfilter 引用 MyServiceImpl,有set和get方法
   4. dubbo-consumer.xml  : <dubbo:reference id="demoService" check="false" 
interface="org.apache.dubbo.demo.DemoService" filter="myfilter"/>
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   加载Myfilter,调用injectExtension(instance) -> SpringExtensionInjector 内的context 
是null 无法完成IOC 注入 
   
   
   ### Actual Behavior
   
   <!-- What actually happens? -->
   
   If there is an exception, please attach the exception trace:
   
   ```
   
![image](https://user-images.githubusercontent.com/41030862/150333739-62be4fad-dd09-4d8f-a7b7-34b9a8716fcd.png)
   ```
   


-- 
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