You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rajesh Battala (JIRA)" <ji...@apache.org> on 2013/06/13 12:05:20 UTC

[jira] [Resolved] (CLOUDSTACK-2420) NPE: Attaching an Uploaded volume to a VM, (NPE while moving from

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajesh Battala resolved CLOUDSTACK-2420.
----------------------------------------

    Resolution: Cannot Reproduce

Its working fine now. 
Verified with creating volume and attaching the volume to the VM.
Attaching Volume is successful and new data disk got added to the VM at the xenserver host.

Got fixed with latest commits
                
> NPE: Attaching an Uploaded volume to a VM, (NPE while moving from 
> ------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2420
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2420
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Volumes
>    Affects Versions: 4.2.0
>            Reporter: Rajesh Battala
>            Assignee: Rajesh Battala
>             Fix For: 4.2.0
>
>
> 2013-05-09 18:36:46,997 DEBUG [cloud.api.ApiServlet] (6876027@qtp-10225875-14:null) ===END===  10.144.7.13 -- GET  command=attachVolume&id=e0075fb1-2432-4375-a22e-b7e6015afac6&virtualMachineId=aa6b941d-a7ea-42da-a175-578005fcb41b&response=json&sessionkey=vCZWZNneQ9l2xOkDXYUoEuAluYw%3D&_=1368104845639
> 2013-05-09 18:36:47,077 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-29) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> java.lang.NullPointerException
>         at com.cloud.storage.VolumeManagerImpl.copyVolume(VolumeManagerImpl.java:1444)
>         at com.cloud.storage.VolumeManagerImpl.createVolumeOnPrimaryStorage(VolumeManagerImpl.java:1488)
>         at com.cloud.storage.VolumeManagerImpl.attachVolumeToVM(VolumeManagerImpl.java:1727)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
>         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:722)
> 2013-05-09 18:36:47,080 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-29) Complete async job-29, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null

--
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