Skip to content

[BEAM-6929] Prevent NullPointerException in Flink's CombiningState#8162

Merged
iemejia merged 1 commit intoapache:masterfrom
mxm:BEAM-6929
Mar 29, 2019
Merged

[BEAM-6929] Prevent NullPointerException in Flink's CombiningState#8162
iemejia merged 1 commit intoapache:masterfrom
mxm:BEAM-6929

Conversation

@mxm
Copy link
Copy Markdown
Contributor

@mxm mxm commented Mar 28, 2019

When the accumulator is retrieved and it has not been initialized yet, the
Flink's StateInternals return null. This can lead to a NullPointerException for
Session windows with allowed lateness, where the state is cleared and the
accumulator is retrieved afterwards.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants