Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 18, 2019

Conversation

drieber
Copy link
Contributor

@drieber drieber commented Feb 18, 2019

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
Copy link
Contributor Author

drieber commented Feb 18, 2019

R: @reuvenlax

@ryan-williams
Copy link
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
Copy link
Contributor Author

drieber commented Feb 18, 2019 via email

@reuvenlax
Copy link
Contributor

Run Dataflow ValidatesRunner

@reuvenlax
Copy link
Contributor

Run Java PostCommit

@reuvenlax
Copy link
Contributor

Run Java_Examples_Dataflow PreCommit

@reuvenlax
Copy link
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
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
Copy link
Contributor

reuvenlax commented Feb 18, 2019 via email

@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