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

[jira] [Updated] (CLOUDSTACK-3942) NPE from findStoragePool method

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

Prasanna Santhanam updated CLOUDSTACK-3942:
-------------------------------------------

    Attachment: mslog.tar.bz2
    
> NPE from findStoragePool method
> -------------------------------
>
>                 Key: CLOUDSTACK-3942
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3942
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Prasanna Santhanam
>            Priority: Critical
>         Attachments: mslog.tar.bz2
>
>
> When running the stopped_vm automated tests on a simulator deployment. I notice
> the following NPE. Yet to track down the steps for repro.
> Logs attached.
> 2013-07-30 15:27:08,385 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-5:job-171 = [ 5a055de8-a726-468c-9949-d16706f7a7d7 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> java.lang.NullPointerException
>         at com.cloud.storage.StorageManagerImpl.findStoragePool(StorageManagerImpl.java:416)
>         at com.cloud.storage.VolumeManagerImpl.createVolume(VolumeManagerImpl.java:679)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.storage.VolumeManagerImpl.createVolumeOnPrimaryStorage(VolumeManagerImpl.java:1540)
>         at com.cloud.storage.VolumeManagerImpl.attachVolumeToVM(VolumeManagerImpl.java:1838)
>         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:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>         at java.lang.Thread.run(Thread.java:680)

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