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/07 02:45:57 UTC
[GitHub] [dubbo] guohao opened a new issue #8706: [3.0] DubboShutdownHook throws exception
guohao opened a new issue #8706:
URL: https://github.com/apache/dubbo/issues/8706
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 3.0.3-SNAPSHOT
* Operating System version: macos
* Java version: 1.8
### Steps to reproduce this issue
1. Start a consumer
2. Close the consumer
Pls. provide [GitHub address] to reproduce this issue.
### Expected Result
No exception
### Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
```
java.lang.IllegalArgumentException: Current ServiceModel is not a ProviderModel
at org.apache.dubbo.rpc.model.ServiceModel.getServiceConfig(ServiceModel.java:106)
at org.apache.dubbo.rpc.model.ModuleModel.destroy(ModuleModel.java:68)
at org.apache.dubbo.rpc.model.ApplicationModel.destroy(ApplicationModel.java:186)
at org.apache.dubbo.rpc.model.ApplicationModel.removeModule(ApplicationModel.java:258)
at org.apache.dubbo.rpc.model.ModuleModel.destroy(ModuleModel.java:84)
at org.apache.dubbo.rpc.model.ApplicationModel.destroy(ApplicationModel.java:186)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1669)
at org.apache.dubbo.common.function.ThrowableAction.execute(ThrowableAction.java:46)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.lambda$callback$0(ShutdownHookCallbacks.java:70)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70)
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:72)
```
--
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] guohao closed issue #8706: [3.0] DubboShutdownHook throws exception
Posted by GitBox <gi...@apache.org>.
guohao closed issue #8706:
URL: https://github.com/apache/dubbo/issues/8706
--
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] wangchengming666 commented on issue #8706: [3.0] DubboShutdownHook throws exception
Posted by GitBox <gi...@apache.org>.
wangchengming666 commented on issue #8706:
URL: https://github.com/apache/dubbo/issues/8706#issuecomment-945137262
I'll fix it.
--
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