You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chaoyoung (via GitHub)" <gi...@apache.org> on 2023/05/30 11:56:58 UTC

[GitHub] [dubbo] chaoyoung opened a new issue, #12431: NPE: unexpected error when unsubscribe service

chaoyoung opened a new issue, #12431:
URL: https://github.com/apache/dubbo/issues/12431

   ### Environment
   
   * Dubbo version: 3.1.10
   * Operating System version: CentOS 7
   * Java version: 1.8.0_201
   
   ### Expected Behavior
   
   No NPE
   
   ### Actual Behavior
   
   NPE
   
   If there is an exception, please attach the exception trace:
   
   ```
   2023-05-25 20:53:33.131  WARN 1 --- [bboShutdownHook] .d.registry.integration.DynamicDirectory:? :  [DUBBO] unexpected error when unsubscribe service xxx from registry: nacos://nacos-0.nacos-headless.default.svc.cluster.local:8848,nacos-1.nacos-headless.default.svc.cluster.local:8848,nacos-2.nacos-headless.default.svc.cluster.local:8848/org.apache.dubbo.registry.RegistryService?application=vui-server-dubbo&check=true&dubbo=2.0.2&enable-empty-protection=false&interface=org.apache.dubbo.registry.RegistryService&password=nacos&pid=1&qos.enable=true&register=true&register-mode=all&release=3.1.10&subscribe=true&timeout=5000&username=nacos, dubbo version: 3.1.10, current host: 10.244.3.18, error code: 1-8. This may be caused by , go to https://dubbo.apache.org/faq/1/8 to find instructions.
   java.lang.NullPointerException: null
   	at org.apache.dubbo.metadata.AbstractServiceNameMapping.stopListen(AbstractServiceNameMapping.java:165)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.doUnsubscribe(ServiceDiscoveryRegistry.java:246)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.unsubscribe(ServiceDiscoveryRegistry.java:229)
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.unsubscribe(ListenerRegistryWrapper.java:99)
   	at org.apache.dubbo.registry.integration.DynamicDirectory.destroy(DynamicDirectory.java:312)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistryDirectory.destroy(ServiceDiscoveryRegistryDirectory.java:147)
   	at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.destroy(AbstractClusterInvoker.java:129)
   	at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.destroy(MockClusterInvoker.java:88)
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.destroy(MigrationInvoker.java:329)
   	at org.apache.dubbo.config.ReferenceConfig.destroy(ReferenceConfig.java:249)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.postDestroy(DefaultModuleDeployer.java:230)
   	at org.apache.dubbo.rpc.model.ModuleModel.onDestroy(ModuleModel.java:109)
   	at org.apache.dubbo.rpc.model.ScopeModel.destroy(ScopeModel.java:121)
   	at org.apache.dubbo.rpc.model.ApplicationModel.onDestroy(ApplicationModel.java:161)
   	at org.apache.dubbo.rpc.model.ScopeModel.destroy(ScopeModel.java:121)
   	at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:80)
   	at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:75)
   ```
   


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


[GitHub] [dubbo] songxiaosheng commented on issue #12431: NPE: unexpected error when unsubscribe service

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #12431:
URL: https://github.com/apache/dubbo/issues/12431#issuecomment-1569484361

   升级3.2.2版本试试 这个有优化逻辑
   https://github.com/apache/dubbo/commit/7a5d04a16923b2f3fbac943ca9254dc9f9debabd
   


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


[GitHub] [dubbo] chaoyoung commented on issue #12431: NPE: unexpected error when unsubscribe service

Posted by "chaoyoung (via GitHub)" <gi...@apache.org>.
chaoyoung commented on issue #12431:
URL: https://github.com/apache/dubbo/issues/12431#issuecomment-1715325589

   > 升级3.2.2版本试试 这个有优化逻辑 [7a5d04a](https://github.com/apache/dubbo/commit/7a5d04a16923b2f3fbac943ca9254dc9f9debabd)
   
   已升级到3.2.5,目前没有再发现此类问题。


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


[GitHub] [dubbo] chaoyoung closed issue #12431: NPE: unexpected error when unsubscribe service

Posted by "chaoyoung (via GitHub)" <gi...@apache.org>.
chaoyoung closed issue #12431: NPE: unexpected error when unsubscribe service
URL: https://github.com/apache/dubbo/issues/12431


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