dingshuangxi888 opened a new issue, #7115:
URL: https://github.com/apache/rocketmq/issues/7115

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] 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](https://github.com/apache/rocketmq/assets/5010921/48c80a00-2c22-4769-b950-aa027a576f62)
   
   
   ### 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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to