dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

port may get null value and unboxing will be failed.

Open lfzCarlosC opened this issue 6 years ago • 1 comments

  • [ ] 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!

lfzCarlosC avatar Jul 23 '20 10:07 lfzCarlosC

The code in here ServiceDiscoveryRegistry.java#L587 has been refactored, please help to point it out if it still exists.

chickenlj avatar Sep 02 '20 09:09 chickenlj