You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/05 06:26:46 UTC

[GitHub] [dubbo] zrlw commented on issue #8681: [3.0] github构建日志里有很多java.lang.IllegalArgumentException: unsubscribe listener == null

zrlw commented on issue #8681:
URL: https://github.com/apache/dubbo/issues/8681#issuecomment-913094497


   顺便看了一下2.7.x的构建日志,RegistryProtocol也有问题:
   1. NPE (invoker尚未创建就去或取invoker的url)
   2021-09-04T18:15:20.5853500Z java.lang.NullPointerException
   2021-09-04T18:15:20.5855218Z 	at org.apache.dubbo.registry.integration.RegistryProtocol$OverrideListener.doOverrideIfNecessary(RegistryProtocol.java:691)
   2021-09-04T18:15:20.5857572Z 	at org.apache.dubbo.registry.integration.RegistryProtocol$OverrideListener.notify(RegistryProtocol.java:672)
   2021-09-04T18:15:20.5859640Z 	at org.apache.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:429)
   2021-09-04T18:15:20.5861641Z 	at org.apache.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:372)
   2021-09-04T18:15:20.5863623Z 	at org.apache.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:364)
   2021-09-04T18:15:20.5865836Z 	at org.apache.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:181)
   2021-09-04T18:15:20.5868092Z 	at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:299)
   2021-09-04T18:15:20.5870274Z 	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:105)
   2021-09-04T18:15:20.5872504Z 	at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:232)
   2021-09-04T18:15:20.5874770Z 	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:62)
   2021-09-04T18:15:20.5877025Z 	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:73)
   2021-09-04T18:15:20.5878629Z 	at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
   2021-09-04T18:15:20.5880268Z 	at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:518)
   2021-09-04T18:15:20.5882154Z 	at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:339)
   2021-09-04T18:15:20.5883655Z 	at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:314)
   2021-09-04T18:15:20.5885108Z 	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:238)
   2021-09-04T18:15:20.5886991Z 	at org.apache.dubbo.config.ReferenceConfigTest.testReferenceRetry(ReferenceConfigTest.java:135)
   2. 空对象触发的IllegalStateException(applicationconfig已被remove过,重复remove,这个和3.0的重复remove问题是一样的)
   2021-09-04T18:15:20.6212943Z [04/09/21 18:15:20:515 UTC] main  WARN config.DubboShutdownHook:  [DUBBO] There's no ApplicationConfig specified., dubbo version: 2.7.14-SNAPSHOT, current host: 172.30.128.1
   2021-09-04T18:15:20.6214168Z java.lang.IllegalStateException: There's no ApplicationConfig specified.
   2021-09-04T18:15:20.6215788Z 	at org.apache.dubbo.config.context.ConfigManager.lambda$getApplicationOrElseThrow$0(ConfigManager.java:90)
   2021-09-04T18:15:20.6217286Z 	at java.base/java.util.Optional.orElseThrow(Optional.java:408)
   2021-09-04T18:15:20.6219073Z 	at org.apache.dubbo.config.context.ConfigManager.getApplicationOrElseThrow(ConfigManager.java:90)
   2021-09-04T18:15:20.6221553Z 	at org.apache.dubbo.rpc.model.ApplicationModel.getApplicationConfig(ApplicationModel.java:100)
   2021-09-04T18:15:20.6223542Z 	at org.apache.dubbo.rpc.model.ApplicationModel.getName(ApplicationModel.java:104)
   2021-09-04T18:15:20.6225416Z 	at org.apache.dubbo.rpc.model.ApplicationModel.getApplication(ApplicationModel.java:112)
   2021-09-04T18:15:20.6227550Z 	at org.apache.dubbo.registry.integration.RegistryProtocol.destroy(RegistryProtocol.java:576)
   2021-09-04T18:15:20.6229816Z 	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.destroy(ProtocolListenerWrapper.java:82)
   2021-09-04T18:15:20.6232100Z 	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.destroy(ProtocolFilterWrapper.java:88)
   2021-09-04T18:15:20.6234226Z 	at org.apache.dubbo.config.DubboShutdownHook.destroyProtocols(DubboShutdownHook.java:143)
   2021-09-04T18:15:20.6236115Z 	at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:118)
   2021-09-04T18:15:20.6237851Z 	at org.apache.dubbo.config.DubboShutdownHook.destroyAll(DubboShutdownHook.java:131)
   2021-09-04T18:15:20.6239637Z 	at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1280)
   2021-09-04T18:15:20.6241433Z 	at org.apache.dubbo.config.bootstrap.DubboBootstrap.reset(DubboBootstrap.java:1435)
   2021-09-04T18:15:20.6243204Z 	at org.apache.dubbo.config.bootstrap.DubboBootstrap.reset(DubboBootstrap.java:1423)
   2021-09-04T18:15:20.6245035Z 	at org.apache.dubbo.config.ReferenceConfigTest.tearDown(ReferenceConfigTest.java:53)


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org