zhangshenghang commented on issue #10354: URL: https://github.com/apache/seatunnel/issues/10354#issuecomment-3758710258
<!-- code-pr-reviewer --> Thanks for reporting this. Based on the error location `getCheckpointServer(jobConfig.getJobContent().getJobId())`, the NPE likely occurs when `jobConfig.getJobContent()` returns null. Please help confirm: 1. What is the exact REST API v2 endpoint you're calling and the full request payload? 2. Does the same request work correctly with REST API v1? If so, what is the v1 endpoint? 3. Can you provide the complete stack trace? Related files for context: - `seatunnel-server/seatunnel-server-rest/src/main/java/org/apache/seatunnel/server/rest/RestJobExecutionEnvironment.java` - `seatunnel-common/src/main/java/org/apache/seatunnel/config/ServerConfigOptions.java` (CONTEXT_PATH configuration) Without the full stack trace and request details, we cannot determine whether this is a difference in request handling between v1 and v2, or a missing null check. -- 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]
