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 behavior when getting a key from functions state that doesn't exist #5272

Merged
merged 1 commit into from
Sep 27, 2019

Conversation

jerrypeng
Copy link
Contributor

Motivation

Currently, when a user attempts to fetch from function state a key that doesn't exist, an NPE will happen.

Modifications

Add the correct error handling for keys that don't exist.

@jerrypeng jerrypeng added type/bug The PR fixed a bug or issue reported a bug area/function labels Sep 25, 2019
@jerrypeng jerrypeng added this to the 2.4.2 milestone Sep 25, 2019
@jerrypeng jerrypeng self-assigned this Sep 25, 2019
@jerrypeng
Copy link
Contributor Author

@addisonj please take a look

@addisonj
Copy link
Contributor

lgtm, thanks for responding to this do quickly!

@jiazhai
Copy link
Member

jiazhai commented Sep 25, 2019

run integration test
run java8 tests

@jiazhai
Copy link
Member

jiazhai commented Sep 25, 2019

run integration tests

@jerrypeng
Copy link
Contributor Author

rerun integration tests

3 similar comments
@jerrypeng
Copy link
Contributor Author

rerun integration tests

@jerrypeng
Copy link
Contributor Author

rerun integration tests

@jerrypeng
Copy link
Contributor Author

rerun integration tests

@merlimat merlimat merged commit 23c7624 into apache:master Sep 27, 2019
addisonj pushed a commit to instructure/pulsar that referenced this pull request Sep 27, 2019
wolfstudy pushed a commit that referenced this pull request Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/function type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants