zlw-9536 opened a new issue #8657:
URL: https://github.com/apache/dubbo/issues/8657
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.dubbo.common.function.ThrowableFunction.execute(ThrowableFunction.java:54)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.common.function.ThrowableFunction.execute(ThrowableFunction.java:69)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.zookeeper.ZookeeperServiceDiscovery.doInServiceDiscovery(ZookeeperServiceDiscovery.java:194)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.zookeeper.ZookeeperServiceDiscovery.getInstances(ZookeeperServiceDiscovery.java:121)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.lambda$subscribeURLs$2(ServiceDiscoveryRegistry.java:313)
~[dubbo-3.0.0.jar:3.0.0]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_172]
at
org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.lambda$subscribeURLs$3(ServiceDiscoveryRegistry.java:312)
~[dubbo-3.0.0.jar:3.0.0]
at java.util.HashMap.computeIfAbsent(HashMap.java:1127) ~[?:1.8.0_172]
at
org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribeURLs(ServiceDiscoveryRegistry.java:309)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.doSubscribe(ServiceDiscoveryRegistry.java:243)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribe(ServiceDiscoveryRegistry.java:220)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:106)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.integration.DynamicDirectory.subscribe(DynamicDirectory.java:136)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.integration.RegistryProtocol.doCreateInvoker(RegistryProtocol.java:514)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol.getServiceDiscoveryInvoker(InterfaceCompatibleRegistryProtocol.java:65)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.migration.MigrationInvoker.refreshServiceDiscoveryInvoker(MigrationInvoker.java:426)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.migration.MigrationInvoker.migrateToApplicationFirstInvoker(MigrationInvoker.java:241)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.migration.MigrationRuleHandler.refreshInvoker(MigrationRuleHandler.java:81)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.migration.MigrationRuleHandler.doMigrate(MigrationRuleHandler.java:65)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.client.migration.MigrationRuleListener.onRefer(MigrationRuleListener.java:148)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.integration.RegistryProtocol.interceptInvoker(RegistryProtocol.java:485)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:467)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:452)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:74)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:68)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:73)
~[dubbo-3.0.0.jar:3.0.0]
at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:392)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:328)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:205)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.utils.ReferenceConfigCache.lambda$get$3(ReferenceConfigCache.java:114)
~[dubbo-3.0.0.jar:3.0.0]
at
java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
~[?:1.8.0_172]
at
org.apache.dubbo.config.utils.ReferenceConfigCache.get(ReferenceConfigCache.java:113)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$referServices$8(DubboBootstrap.java:1342)
~[dubbo-3.0.0.jar:3.0.0]
at java.util.HashMap$Values.forEach(HashMap.java:981) ~[?:1.8.0_172]
at
org.apache.dubbo.config.bootstrap.DubboBootstrap.referServices(DubboBootstrap.java:1321)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.bootstrap.DubboBootstrap.start(DubboBootstrap.java:1100)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onContextRefreshedEvent(DubboBootstrapApplicationListener.java:70)
~[dubbo-3.0.0.jar:3.0.0]
at
org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onApplicationContextEvent(DubboBootstrapApplicationListener.java:63)
~[dubbo-3.0.0.jar:3.0.0]
at
com.alibaba.spring.context.OnceApplicationContextEventListener.onApplicationEvent(OnceApplicationContextEventListener.java:52)
~[spring-context-support-1.0.8.jar:?]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:354)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:888)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
at
com.lazyaudio.yyting.core.provider.Application.main(Application.java:16)
[classes/:?]
The error msg as above,the reason is serializer the registerInfo from
zookeeper error,cause the port is null
--
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]