You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "choucmei (via GitHub)" <gi...@apache.org> on 2026/01/23 15:55:40 UTC

[PR] [fix] Fixed the DurableExecutionException error that could not be serialized [flink-agents]

choucmei opened a new pull request, #474:
URL: https://github.com/apache/flink-agents/pull/474

   
   
   <!--
   * Thank you very much for contributing to Flink Agents.
   * Please add the relevant components in the PR title. E.g., [api], [runtime], [java], [python], [hotfix], etc.
   -->
   
   <!-- Please link the PR to the relevant issue(s). Hotfix doesn't need this. -->
   Linked issue: [#473](https://github.com/apache/flink-agents/issues/473)
   
   ### Purpose of change
   
   Fixed the DurableExecutionException error that could not be serialized. 
   
   ### Tests
   
   <!-- How is this change verified? -->
   
   ### API
   
   <!-- Does this change touches any public APIs? -->
   
   ### Documentation
   
   <!-- Do not remove this section. Check the proper box only. -->
   
   - [ ] `doc-needed` <!-- Your PR changes impact docs -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-included` <!-- Your PR already contains the necessary documentation updates -->
   


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix] Fixed the DurableExecutionException error that could not be serialized [flink-agents]

Posted by "Sxnan (via GitHub)" <gi...@apache.org>.
Sxnan closed pull request #474: [fix] Fixed the DurableExecutionException error that could not be serialized
URL: https://github.com/apache/flink-agents/pull/474


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix] Fixed the DurableExecutionException error that could not be serialized [flink-agents]

Posted by "Sxnan (via GitHub)" <gi...@apache.org>.
Sxnan commented on PR #474:
URL: https://github.com/apache/flink-agents/pull/474#issuecomment-3803324670

   Merged in #490


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix] Fixed the DurableExecutionException error that could not be serialized [flink-agents]

Posted by "Sxnan (via GitHub)" <gi...@apache.org>.
Sxnan commented on code in PR #474:
URL: https://github.com/apache/flink-agents/pull/474#discussion_r2726195187


##########
runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java:
##########
@@ -359,7 +360,13 @@ protected static class DurableExecutionRuntimeException extends RuntimeException
 
     /** Serializable exception info for durable execution persistence. */
     public static class DurableExecutionException {
+        private static final String FIELD_MESSAGE = "message";
+        private static final String FIELD_EXCEPTION_CLASS = "exceptionClass";
+
+        @JsonProperty(FIELD_MESSAGE)

Review Comment:
    It seems that the `@JsonProperty` values are swapped between the two fields. `exceptionClass` field should map to "exceptionClass" in JSON, and `message` should map to "message".



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org