- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of 
this repository and believe that this is not a duplicate.
- [ ] I have checked the 
[FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository 
and believe that this is not a duplicate.

### Environment

* Dubbo version: 2.6.5
* Spring boot version: 2.1.8.RELEASE
* Java version: 1.8

### Steps to reproduce this issue

1. 项目启动过程中,扫描到Service注解的类;
2. 在export()的过程中,在2.6.5版本新加了publishExportEvent();的操作;
3. 内部的方法是ServiceBeanExportedEvent的事件监听;
4.applicationEventPublisher.publishEvent(exportEvent);这个方法的applicationEventPublisher为null,抛出了空指针异常;
5.ServiceBean方法实现了ApplicationEventPublisherAware接口,但是却没有调用其中的方法setApplicationEventPublisher方法;

### Message
萌新一个,最近在学习Dubbo,遇到这个问题,自己查了很多资料没有解决,还请各位大佬帮忙看一下,感谢。

[ Full content available at: https://github.com/apache/dubbo/issues/5551 ]
This message was relayed via gitbox.apache.org for 
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to