Hi,
I am trying to create image of virtual machine in cloudcentral using JClouds.
Following is my code snippet
CreateTemplateOptions templateOption = CreateTemplateOptions.NONE;
templateOption.bits(64);
templateOption.passwordEnabled(true);
TemplateMetadata meta = TemplateMetadata.builder().name("Test Debian
6.0.6").osTypeId("26226f97-25c0-49e4-be29-03f13308ade8").
displayText("Test Debian 6.0.6
64-bit").virtualMachineId("xxxx-xxxx-yyyy-zzzz").build();
template.createTemplate(meta,templateOption);
But I got null pointer exception. VM is in stop state, kindly help me to this.
Thanks,
Prabakaran.R