[
https://issues.apache.org/jira/browse/FLINK-35089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xintong Song closed FLINK-35089.
--------------------------------
Fix Version/s: 1.20.0
1.19.1
Resolution: Fixed
- master (1.20): 7a90a05e82ddfb3438e611d44fd329858255de6b
- release-1.19: a2c3d27f5dced2ba73307e8230cd07a11b26c401
> Two input AbstractStreamOperator may throw NPE when receiving RecordAttributes
> ------------------------------------------------------------------------------
>
> Key: FLINK-35089
> URL: https://issues.apache.org/jira/browse/FLINK-35089
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Task
> Affects Versions: 1.19.0
> Reporter: Xuannan Su
> Assignee: Xuannan Su
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.20.0, 1.19.1
>
>
> Currently the `lastRecordAttributes1` and `lastRecordAttributes2` in the
> `AbstractStreamOperator` are transient. The two fields will be null when it
> is deserialized in TaskManager, which may cause an NPE.
> To fix it, we will initialize the two fields in the {{setup}} method.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)