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

2.5.3版本reference注解调用抛空指针异常 #2067

Closed
wallacepang opened this issue Jul 11, 2018 · 7 comments
Closed

2.5.3版本reference注解调用抛空指针异常 #2067

wallacepang opened this issue Jul 11, 2018 · 7 comments

Comments

@wallacepang
Copy link

wallacepang commented Jul 11, 2018

环境:2.5.3
异常:
A服务通过reference注解引用B,A启动的时候B服务宕机,后面重启B服务
A服务调用B的时候抛NullPointException
正常:
后面重启A服务,调用B服务才正常

@luyuanwan
Copy link
Contributor

You can give the stack trace.

@diecui1202
Copy link

@wallacepang could you please try out the lastest version 2.6.2?

Feel free to reopen it if you also get problem.

@wallacepang
Copy link
Author

@diecui1202 2.6.2 也是这个问题,@reference 默认 check=true, 把check改成false ,服务B能正常调用

@diecui1202
Copy link

@wallacepang can you provide the stack trace?

@ATAKing1023
Copy link
Contributor

ATAKing1023 commented Jul 20, 2018

I opened a pull request for this issue. #1999
@ralf0131 can you please review the change? It's a minor fix.

@ATAKing1023
Copy link
Contributor

Here is another reported issue with stacktrace. #1765
@diecui1202

@zonghaishang
Copy link
Member

merged, see: #1999

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

5 participants