Ravi Nori has posted comments on this change.
Change subject: restapi : HTTP Status 500 -
java.lang.NullPointerException(#961046)
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainTemplateResource.java
Line 38: }
Line 39:
Line 40: @Override
Line 41: public Response doImport(Action action) {
Line 42: validateParameters(action, "cluster.id|name",
"storageDomain.id|name");
Please see line 43 of this class. We are trying to get the destination storage
domain id. It is throwing NPE if storageDomain id or name is not specified.
Line 43:
Line 44: Guid destStorageDomainId = getDestStorageDomainId(action);
Line 45:
Line 46: ImportVmTemplateParameters params = new
ImportVmTemplateParameters(parent.getDataCenterId(destStorageDomainId),
--
To view, visit http://gerrit.ovirt.org/14598
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie0102d1d36de7012ebd98c53ef8eb106ac7b04b7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches