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: headless server no longer throws NPE on null configs #4119

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

stevenpyzhang
Copy link
Member

Description

Fixes #4114
Cause: #4114 (comment)

This other commit already fixes the problem by removing the config that was being set to null anyways.
2893241#diff-7848c43dbebc7bc8c45c12b2c1e2689cR247

This fix should still go in to prevent something like this from breaking headless mode again. Keys can't be null because the KsqlConfig would throw an exception if they weren't so we only need to check value.

Testing done

Spun up headless mode
Added a unit test

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

Copy link
Contributor

@vcrfxia vcrfxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- thanks @stevenpyzhang !

@vcrfxia vcrfxia changed the title fix: NPE when starting StandaloneExecutor fix: headless server no longer throws NPE on null configs Dec 11, 2019
@stevenpyzhang stevenpyzhang merged commit c6c00b1 into confluentinc:master Dec 12, 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.

NullPointerException when starting ksqlDB server in headless mode
2 participants