Thanks, but it resolved. -----Original Message----- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, August 07, 2013 3:43 PM To: dev; Prabakaran R Subject: Re: Unable to create image on Cloudcentral
Prabakaran, Can you make 'I got null pointer exception' more explicit? regards, On Thu, Jul 25, 2013 at 12:56 PM, Prabakaran R <praba...@cusdelight.com> wrote: > 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