Tom Beerbower created AMBARI-4679:
-------------------------------------
Summary: NPE for View with no instances / resources / parameters.
Key: AMBARI-4679
URL: https://issues.apache.org/jira/browse/AMBARI-4679
Project: Ambari
Issue Type: Bug
Reporter: Tom Beerbower
Assignee: Tom Beerbower
If a view is specified without instances the call to getInstances() on the view
configuration will return null. The calling code is not likely to check for
that, resulting in a NullPointerException. Better to return an empty list. Same
is true for resources and parameters.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)