Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos-client selectOneHealthyInstance 报java.lang.ArrayIndexOutOfBoundsException: -1 #68

Open
zk20180228 opened this issue Dec 10, 2021 · 0 comments

Comments

@zk20180228
Copy link

nacos-client :2.0.3
Instance instance = namingService.selectOneHealthyInstance("service03");
这个行代码报了异常,service03服务只有一个实例,但这个实例是不健康的,我的预期结果应该是instance ==null,但是实际上抛异常了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant