Skip to content

Fix NPE in ComputationState constructor introduced by PR/7846 - #7869

Merged
reuvenlax merged 1 commit into
apache:masterfrom
drieber:flatten-unzipping
Feb 18, 2019
Merged

reuvenlax merged 1 commit into
apache:masterfrom
drieber:flatten-unzipping

Conversation

@drieber

@drieber drieber commented Feb 18, 2019

Copy link
Copy Markdown
Contributor

The root cause was assuming an empty transformUserNameToStateFamily map was passed, when instead null was passed.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

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

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

…ot cause was assuming an empty transformUserNameToStateFamily map was passed, when instead null was passed.
@drieber

drieber commented Feb 18, 2019

Copy link
Copy Markdown
Contributor Author

R: @reuvenlax

@ryan-williams

Copy link
Copy Markdown
Contributor

Thanks for the quick fix here @drieber!

One question I had was why the Java_Examples_Dataflow precommit didn't run on #7846 (and so far doesn't seem to have run here)?

@drieber

drieber commented Feb 18, 2019 via email

Copy link
Copy Markdown
Contributor Author

@reuvenlax

Copy link
Copy Markdown
Contributor

Run Dataflow ValidatesRunner

@reuvenlax

Copy link
Copy Markdown
Contributor

Run Java PostCommit

@reuvenlax

Copy link
Copy Markdown
Contributor

Run Java_Examples_Dataflow PreCommit

@reuvenlax

Copy link
Copy Markdown
Contributor

@drieber thanks for the quick fix! For future reference, when changing a specific runner, it's best to run the ValidatesRunner tests for that runner before merging (see the run I triggered above for the Dataflow runner). Unfortunately the documentation on these trigger phrases is still a bit spotty.

@ryan-williams

Copy link
Copy Markdown
Contributor

@reuvenlax per my comment above, do you know why "Java_Examples_Dataflow PreCommit" ran on our PRs (#7823, #7865) that didn't seem to have to do with Dataflow, but not #7846 (where the bug was introduced) nor here (where the bug was fixed)?

@reuvenlax

reuvenlax commented Feb 18, 2019 via email

Copy link
Copy Markdown
Contributor

@reuvenlax
reuvenlax merged commit 9de343c into apache:master Feb 18, 2019
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