yuxiqian opened a new pull request, #4398:
URL: https://github.com/apache/flink-cdc/pull/4398

   This closes FLINK-39684.
   
   Pipeline YAML ReplaceEvent carries `after()` payload only, but 
PaimonWriterHelper attempts to access its `before()` field, causing the 
following exception:
   
   ```
   java.lang.NullPointerException
        at 
org.apache.flink.cdc.connectors.paimon.sink.v2.PaimonWriterHelper.convertRecordDataToGenericRow(PaimonWriterHelper.java:307)
        at 
org.apache.flink.cdc.connectors.paimon.sink.v2.PaimonWriterHelper.convertEventToFullGenericRows(PaimonWriterHelper.java:257)
        at 
org.apache.flink.cdc.connectors.paimon.sink.v2.PaimonWriterHelperTest.testConvertEventToFullGenericRowsOfDataChangeTypes(PaimonWriterHelperTest.java:243)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
   ```


-- 
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]

Reply via email to