eventmesh
eventmesh copied to clipboard
[Bug] Possible null pointer dereference
Search before asking
- [X] I had searched in the issues and found no similar issues.
Environment
Mac
EventMesh version
master
What happened
The return value from a method is dereferenced without a null check, and the return value of that method is one that should generally be checked for null. This may lead to a NullPointerException when the code is executed.
The bug appears in the package org.apache.eventmesh.runtime.core.protocol.http.processor many times.
How to reproduce
It will happen if the return value is null.
Debug logs
No response
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!