java.lang.NullPointerException: null
at org.apache.dubbo.registry.integration.RegistryProtocol.registerStatedUrl(RegistryProtocol.java:183) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:218) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:62) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:73) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:64) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:494) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:327) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:303) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:204) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$exportServices$14(DubboBootstrap.java:1088) ~[dubbo-2.7.10.jar!/:2.7.10]
at java.util.HashMap$Values.forEach(HashMap.java:981) ~[na:1.8.0_242]
at org.apache.dubbo.config.bootstrap.DubboBootstrap.exportServices(DubboBootstrap.java:1075) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.bootstrap.DubboBootstrap.start(DubboBootstrap.java:889) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onContextRefreshedEvent(DubboBootstrapApplicationListener.java:69) ~[dubbo-2.7.10.jar!/:2.7.10]
at org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onApplicationContextEvent(DubboBootstrapApplicationListener.java:62) ~[dubbo-2.7.10.jar!/:2.7.10]
at com.alibaba.spring.context.OnceApplicationContextEventListener.onApplicationEvent(OnceApplicationContextEventListener.java:52) ~[spring-context-support-1.0.10.jar!/:na]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:897) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:162) ~[spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553) ~[spring-context-5.1.18.RELEASE.jar!/:5.1.18.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744) [spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391) [spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) [spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204) [spring-boot-2.1.17.RELEASE.jar!/:2.1.17.RELEASE]
升级到dubbo 2.7.10 报NPE 有什么解法?
3条答案
按热度按时间ukxgm1gy1#
2.7.14是否存在该问题
fcg9iug32#
2.7.14是否存在该问题
暂时没用这个版本,打算按这个版本升级下。
flseospp3#
I also had the same problem