cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject Re: Unable to create image on Cloudcentral
Date Wed, 07 Aug 2013 10:12:33 GMT
Prabakaran,

Can you make 'I got null pointer exception' more explicit?

regards,

On Thu, Jul 25, 2013 at 12:56 PM, Prabakaran R <prabakar@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

Mime
View raw message