You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "ralf0131 (GitHub)" <gi...@apache.org> on 2019/03/15 03:40:05 UTC
[GitHub] [incubator-dubbo] ralf0131 opened issue #3669:
java.lang.IllegalStateException: error state, exporter should not be null
- [x] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
- [x] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.7.1-SNAPSHOT
* Operating System version: Mac OS 10.14.3
* Java version: Java 11
### Steps to reproduce this issue
1. use etcd as config center, or choose other config center implementation
2. Add a new configurator config to etcd
```
./etcdctl put /dubbo/config/org.apache.dubbo.demo.DemoService/configurators "
---
configVersion: v2.7
scope: service
key: org.apache.dubbo.demo.DemoService
enabled: true
configs:
- addresses: [\"0.0.0.0:20890\"]
side: provider
parameters:
timeout: 10000
..."
```
3. start `org.apache.dubbo.demo.provider.Application`
### Expected Result
No exception is thrown.
### Actual Result
What actually happens?
Exception is thrown during startup:
```
java.lang.IllegalStateException: error state, exporter should not be null
at org.apache.dubbo.registry.integration.RegistryProtocol$OverrideListener.doOverrideIfNecessary(RegistryProtocol.java:518)
at org.apache.dubbo.registry.integration.RegistryProtocol$ServiceConfigurationListener.notifyOverrides(RegistryProtocol.java:569)
at org.apache.dubbo.registry.integration.AbstractConfiguratorListener.process(AbstractConfiguratorListener.java:71)
at org.apache.dubbo.registry.integration.AbstractConfiguratorListener.initWith(AbstractConfiguratorListener.java:46)
at org.apache.dubbo.registry.integration.RegistryProtocol$ServiceConfigurationListener.<init>(RegistryProtocol.java:560)
at org.apache.dubbo.registry.integration.RegistryProtocol.overrideUrlWithConfig(RegistryProtocol.java:209)
at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:182)
at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:61)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:106)
at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:562)
at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:415)
at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:376)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:335)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:319)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:113)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:59)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at org.apache.dubbo.demo.provider.Application.main(Application.java:27)
```
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3669 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org