-
Bug
-
Resolution: Done
-
Medium
-
Guilin Release
-
None
-
None
-
SDC Sprint 24
A NullPointerException is thrown by the method isHeatEnvType() in ArtifactDataDefinition because in ResourceImportManager handleOperationImplementation(...) method creates an instance of ArtifactDataDefinition but do not set an artifactType. Then when isHeatEnvType() is invoked on this object, the getArtifactType() method returns null and hence the call becomes return null.equals(ArtifactTypeEnum.HEAT_ENV.getType()); causing a
NulPointerException. Flipping the .equals in isHeatEnvType() method, fixes the issue.