Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.6.0
-
None
Description
DELETE
ambariHost:8080/api/v1/blueprints/myBlueprint
results in 500 error:
18:08:10,817 WARN [qtp1102737706-22] ServletHandler:514 - /api/v1/blueprints/newhadoopcluster
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1911)
at org.apache.ambari.server.controller.internal.BlueprintResourceProvider.createConfigEntities(BlueprintResourceProvider.java:395)
at org.apache.ambari.server.controller.internal.BlueprintResourceProvider.toEntity(BlueprintResourceProvider.java:311)
at org.apache.ambari.server.controller.internal.BlueprintResourceProvider$1.invoke(BlueprintResourceProvider.java:206)
at org.apache.ambari.server.controller.internal.BlueprintResourceProvider$1.invoke(BlueprintResourceProvider.java:203)