Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Fixed NPE in getFromMap with String and HaHosts#39

Open
juicegit wants to merge 6 commits intoppat:masterfrom
juicegit:master
Open

Fixed NPE in getFromMap with String and HaHosts#39
juicegit wants to merge 6 commits intoppat:masterfrom
juicegit:master

Conversation

@juicegit
Copy link
Copy Markdown

@juicegit juicegit commented Dec 2, 2015

In trying to setup a spout that does not use HA, the code for checking for HA throws a NPE in this code here since it assumes that any key looked up in the map has a value. For HA Hosts, the only acceptable value other than hosts is null.

@juicegit juicegit changed the title Fixed NPE in getConfigFromMap with String and HaHosts Fixed NPE in getFromMap with String and HaHosts Dec 2, 2015
Copy link
Copy Markdown
Contributor

@jnioche jnioche left a comment

Choose a reason for hiding this comment

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

Got exactly the same issue: any reason not to merge this fix?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants