mxsm opened a new issue, #4596: URL: https://github.com/apache/eventmesh/issues/4596
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Environment Windows ### EventMesh version master ### What happened SourceWorker#convertRecordToEvent method may be throw NPE ### How to reproduce when ConnectRecord property is null ### Debug logs Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.apache.eventmesh.openconnect.SourceWorker.convertRecordToEvent(SourceWorker.java:247) at org.apache.eventmesh.openconnect.SourceWorker.startPollAndSend(SourceWorker.java:189) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) * -- 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]
