Skip to content

AMBARI-23158. Fix NPE in Host Components query.#566

Merged
swapanshridhar merged 1 commit into
apache:branch-feature-AMBARI-14714from
swapanshridhar:AMBARI-23158-branch-feature-AMBARI-14714
Mar 6, 2018
Merged

AMBARI-23158. Fix NPE in Host Components query.#566
swapanshridhar merged 1 commit into
apache:branch-feature-AMBARI-14714from
swapanshridhar:AMBARI-23158-branch-feature-AMBARI-14714

Conversation

@swapanshridhar
Copy link
Copy Markdown
Contributor

@swapanshridhar swapanshridhar commented Mar 6, 2018

What changes were proposed in this pull request?

Fixed NPE happening in HostComponentResourceProvider.

How was this patch tested?

Compiled.

Copy link
Copy Markdown
Member

@jonathan-hurley jonathan-hurley left a comment

Choose a reason for hiding this comment

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

Just out of curiosity, should we throw an error if there's no hostComponentId and it's null after this block?

@asfgit
Copy link
Copy Markdown

asfgit commented Mar 6, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1006/
Test FAILed.
Test FAILured.

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.

4 participants