Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.5.2
-
None
Description
target_stack should be passed to PreUpgradeCheckResourceProvider to prevent the following NPE:
Caught a runtime exception while attempting to create a resource: null java.lang.NullPointerException at org.apache.ambari.server.controller.internal.PreUpgradeCheckResourceProvider.getResources(PreUpgradeCheckResourceProvider.java:150) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$PreReqCheckValidator.check(UpgradeResourceProvider.java:2134) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$UpgradeRequestValidator.validate(UpgradeResourceProvider.java:2031) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$UpgradeRequestValidator.validate(UpgradeResourceProvider.java:2035) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.validateRequest(UpgradeResourceProvider.java:691)
Attachments
Attachments
Issue Links
- links to