You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tvd12 Can you provide a code snippet that reliably reproduce the NullPointerException? I don't mind making the code more defensive, but I'd like to do it for a reason.
I have seen NullPointerException when RpcServer received two request with duplicate correlationId from client. It's a mistake from me, but I think anyone are easy to make that mistake, and if we throw an exception with detail message, it's a help for many developers.
Sorry, I fixed a lot of source code and now I don't want rollback them, so I can't provide to you.
In RpcClient.java we have:
Because, we haven't checked
blocker != null
, so we get NullPointerExceptionAnd
Why we don't use:
instead of
The text was updated successfully, but these errors were encountered: