You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/12/09 06:26:19 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #2518: [Enhancement] Method invocation 'toString' may produce 'NullPointerException' [GrpcMessageProtocolResolver]

Alonexc opened a new issue, #2518:
URL: https://github.com/apache/incubator-eventmesh/issues/2518

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Enhancement Request
   
   ![image](https://user-images.githubusercontent.com/91315508/206636958-da03f337-ca12-4e81-bbca-41bd111cbdbf.png)
   located at:
   eventmesh-protocol-plugin/eventmesh-protocol-cloudevents/src/main/java/org/apache/eventmesh/protocol/cloudevents/resolver/grpc/GrpcMessageProtocolResolver.java line 47 97-116 127 131 140 158 160-188 
   
   
   ### Describe the solution you'd like
   
   ![image](https://user-images.githubusercontent.com/91315508/206637027-01983651-5402-4e96-bc37-8a8a958cb3b9.png)
   Use the integrated method replacement to avoid NPEs, and elsewhere use the Objects.requireNonNull() method.
   analysis and explanation:
   These places are prone to NPE.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 closed issue #2518: [Enhancement] Method invocation 'toString' may produce 'NullPointerException' [GrpcMessageProtocolResolver]

Posted by GitBox <gi...@apache.org>.
xwm1992 closed issue #2518: [Enhancement] Method invocation 'toString' may produce 'NullPointerException' [GrpcMessageProtocolResolver]
URL: https://github.com/apache/incubator-eventmesh/issues/2518


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] venkatesh2090 commented on issue #2518: [Enhancement] Method invocation 'toString' may produce 'NullPointerException' [GrpcMessageProtocolResolver]

Posted by GitBox <gi...@apache.org>.
venkatesh2090 commented on issue #2518:
URL: https://github.com/apache/incubator-eventmesh/issues/2518#issuecomment-1349524896

   I want to fix this issue!


-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org