You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "angeline shen (JIRA)" <ji...@apache.org> on 2013/05/15 04:25:15 UTC

[jira] [Created] (CLOUDSTACK-2499) KVM 6.3 snapshot - create template from snapshot Fail with Null pointer exception

angeline shen created CLOUDSTACK-2499:
-----------------------------------------

             Summary: KVM 6.3 snapshot - create template from snapshot Fail with Null pointer exception
                 Key: CLOUDSTACK-2499
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2499
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: MS  ASF 2.0   KVM 6.3 snapshot
host ASF 2.0  
            Reporter: angeline shen
            Assignee: Fang Wang
            Priority: Critical
             Fix For: 4.2.0


1. advance zone, create instances
2. Create a Snapshot of a ROOT Volume of a Linux VM.
3. Create a Template from the Snapshot 

Result:

2013-05-14 19:03:34,211 DEBUG [cloud.template.TemplateManagerImpl] (Job-Executor-43:job-34) Failed to create templatejava.lang.NullPointerException
2013-05-14 19:03:34,217 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to create templatejava.lang.NullPointerException
        at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1763)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-05-14 19:03:34,221 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34) Complete async job-34, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to create templatejava.lang.NullPointerException




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira