dubbo
dubbo copied to clipboard
port may get null value and unboxing will be failed.
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
- [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.
Environment
- Dubbo version: xxx
- Operating System version: xxx
- Java version: xxx
Steps to reproduce this issue
unboxing may get failed because null value could be returned https://github.com/apache/dubbo/blob/master/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistry.java#L587
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps?
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!
The code in here ServiceDiscoveryRegistry.java#L587 has been refactored, please help to point it out if it still exists.