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:37 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #2522: [Enhancement] Method invocation 'getBytes' may produce 'NullPointerException' [HttpCommand]

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

   ### 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/206637927-3081a67d-6db8-498d-98a0-db3e18ca4175.png)
   located at:
   eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/HttpCommand.java line 236
   
   
   ### Describe the solution you'd like
   
   To add an NPE check, it is recommended to use Objects.requireNonNull().
   
   ### 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] walterlife commented on issue #2522: [Enhancement] Method invocation 'getBytes' may produce 'NullPointerException' [HttpCommand]

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

   > I want to fix it.
   
   @jonyangx Hi, There is a pr already related to this issue(before not relate it, already fix). you can also fix this issue #2553


-- 
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] jonyangx closed issue #2522: [Enhancement] Method invocation 'getBytes' may produce 'NullPointerException' [HttpCommand]

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


-- 
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] jonyangx commented on issue #2522: [Enhancement] Method invocation 'getBytes' may produce 'NullPointerException' [HttpCommand]

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

   I want to fix it.


-- 
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