diff --git a/server/src/com/cloud/api/ApiDispatcher.java b/server/src/com/cloud/api/ApiDispatcher.java index 32f81075eb9..3dfcbce7662 100755 --- a/server/src/com/cloud/api/ApiDispatcher.java +++ b/server/src/com/cloud/api/ApiDispatcher.java @@ -619,6 +619,8 @@ public class ApiDispatcher { field.set(cmdObj, listParam); break; case UUID: + if (paramObj.toString().isEmpty()) + break; // There may be multiple entities defined on the @Entity of a Response.class // UUID CommandType would expect only one entityType, so use the first entityType Class[] entities = annotation.entityType()[0].getAnnotation(Entity.class).value();