Alonexc opened a new issue, #3955: URL: https://github.com/apache/eventmesh/issues/3955
### 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     located at: eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/ConfigurationHandler.java line 67-70,80-81,106,117 analysis and explanation: a. Method invocation 'getBytes' may produce 'NullPointerException' b. Use constant substitution in the `common` module constants class. eventmesh-common/src/main/java/org/apache/eventmesh/common/enums/HttpMethod.java eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/constants/EventMeshConstants.java ### Describe the solution you'd like a. Use `Objects.requireNonNull()` to avoid NPE.  b. Constants are extracted into this class.[EventMeshConstants] (If someone has already done it, ignore this)  Replace with constants in the constants class.    ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
