zrlw edited a comment on issue #9079:
URL: https://github.com/apache/dubbo/issues/9079#issuecomment-950351995


   下面再说一下github单元测试的问题,如下所示,启动一个新的测试类的时候开始释放全局资源了,然后导致无休止的Failed to load 
service metadata:
   ```
   2021-10-24T14:57:05.3959123Z [INFO] Running 
org.apache.dubbo.registry.client.migration.MigrationRuleListenerTest
   2021-10-24T14:57:08.1420853Z [24/10/21 14:57:05:567 UTC]  INFO 
model.FrameworkModel:  [DUBBO] Dubbo framework[19] is destroying ..., dubbo 
version: 3.0.5-SNAPSHOT, current host: 10.1.0.55
   2021-10-24T14:57:08.1422428Z [24/10/21 14:57:05:567 UTC]  INFO 
model.FrameworkModel:  [DUBBO] Dubbo framework[19] is destroyed, dubbo version: 
3.0.5-SNAPSHOT, current host: 10.1.0.55
   2021-10-24T14:57:08.1424017Z [24/10/21 14:57:05:567 UTC]  INFO 
resource.GlobalResourcesRepository:  [DUBBO] Destroying global resources ..., 
dubbo version: 3.0.5-SNAPSHOT, current host: 10.1.0.55
   2021-10-24T14:57:08.1426081Z [24/10/21 14:57:05:567 UTC]  INFO 
resource.GlobalResourcesRepository:  [DUBBO] Dubbo is completely destroyed, 
dubbo version: 3.0.5-SNAPSHOT, current host: 10.1.0.55
   ...
   2021-10-24T14:57:08.1445495Z [24/10/21 14:57:06:123 UTC] ERROR 
listener.ServiceInstancesChangedListener:  [DUBBO] Failed to load service 
metadata, meta type is local, dubbo version: 3.0.5-SNAPSHOT, current host: 
10.1.0.55
   <== 开始无休止的Failed to load service metadata
   2021-10-24T14:57:08.1446797Z java.lang.NullPointerException
   2021-10-24T14:57:08.1449183Z         at 
org.apache.dubbo.registry.client.metadata.StandardMetadataServiceURLBuilder.build(StandardMetadataServiceURLBuilder.java:87)
   ```
   具体内容见:https://github.com/apache/dubbo/runs/3989352973?check_suite_focus=true


-- 
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]

Reply via email to