pakchoily opened a new issue, #10736: URL: https://github.com/apache/dubbo/issues/10736
<!-- 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. ## Ask your question here 依赖版本如下: <artifactId>spring-cloud-alibaba-dependencies</artifactId> <version>2021.0.4.0</version> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.11</version> <artifactId>spring-cloud-dependencies</artifactId> <version>2021.0.4</version> <artifactId>dubbo-bom</artifactId> <version>3.1.1</version> jdk使用17 使用nacos作为注册中心,如果先启动消费者,等消费者完全启动,再启动服务提供者,会报如下错误,不知道有办法解决吗? ~~~java java.lang.NullPointerException: Cannot invoke "io.netty.channel.Channel.localAddress()" because "this.channel" is null at org.apache.dubbo.remoting.transport.netty4.NettyPortUnificationServer.getLocalAddress(NettyPortUnificationServer.java:221) ~[dubbo-3.1.1.jar:3.1.1] at org.apache.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:75) ~[dubbo-3.1.1.jar:3.1.1] at org.apache.dubbo.remoting.api.pu.AbstractPortUnificationServer.<init>(AbstractPortUnificationServer.java:46) ~[dubbo-3.1.1.jar:3.1.1] ~~~ -- 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]
