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

[Bug] Fix gRPC response message NPE #7115

Closed
3 tasks done
dingshuangxi888 opened this issue Aug 3, 2023 · 0 comments · Fixed by #7116
Closed
3 tasks done

[Bug] Fix gRPC response message NPE #7115

dingshuangxi888 opened this issue Aug 3, 2023 · 0 comments · Fixed by #7116

Comments

@dingshuangxi888
Copy link
Contributor

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

linux

RocketMQ version

develop

JDK Version

Java8

Describe the Bug

When a system exception occurs in gRPC, such as a NullPointerException (NPE), the Response returned to the client may have its message set to null, resulting in another NPE. In such cases, the client cannot receive the response.
image

Steps to Reproduce

When call gRPC sevice, and throw NPE, the client can not get the response.

What Did You Expect to See?

If NPE occurs, it can returns the response.

What Did You See Instead?

If NPE occurs, it can returns the response.

Additional Context

No response

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

Successfully merging a pull request may close this issue.

1 participant