prashant kumar mishra created CLOUDSTACK-4931:
-------------------------------------------------

             Summary: observed NPE with new system vm template
                 Key: CLOUDSTACK-4931
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4931
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server, XenServer
    Affects Versions: 4.2.1
         Environment: commit :88882a914cb3c4ff61c5d29733cac77dca67030b
hypervisor: Xen6.0.2
            Reporter: prashant kumar mishra
             Fix For: 4.2.1


template
-------------
http://download.cloud.com/templates/4.2/64bit/systemvmtemplate64-2013-07-15-master-xen.vhd.bz2

Observed NPE for  SSVM and CPVM  before they came up successfully  with new 64 
bit template

Logs
-------
2013-10-23 06:41:11,221 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(DirectAgent-19:null) VM s-1-VM: cs state = Starting and realState = Running
2013-10-23 06:41:11,224 WARN  [agent.manager.DirectAgentAttache] 
(DirectAgent-19:null) Seq 1-1495007236: Exception caught
java.lang.NullPointerException
        at com.cloud.vm.dao.UserVmDaoImpl.loadDetails(UserVmDaoImpl.java:338)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2473)
        at 
com.cloud.vm.VirtualMachineManagerImpl.deltaSync(VirtualMachineManagerImpl.java:2175)
        at 
com.cloud.vm.VirtualMachineManagerImpl.processAnswers(VirtualMachineManagerImpl.java:2689)
        at 
com.cloud.agent.manager.AgentAttache.processAnswers(AgentAttache.java:287)
        at 
com.cloud.agent.manager.ClusteredDirectAgentAttache.processAnswers(ClusteredDirectAgentAttache.java:65)
        at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:212)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        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:722)




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to