cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3942) NPE from findStoragePool method
Date Wed, 31 Jul 2013 00:55:47 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724686#comment-13724686
] 

ASF subversion and git services commented on CLOUDSTACK-3942:
-------------------------------------------------------------

Commit a8360e41c0c99793b1f6b0a4e0cb10dbc3d00a9c in branch refs/heads/master from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a8360e4 ]

CLOUDSTACK-3942 NPE from findStoragePool method

Changes:
- Added null checks for podId

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java

                
> 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.) 
>    Affects Versions: 4.2.0
>            Reporter: Prasanna Santhanam
>            Assignee: Prachi Damle
>            Priority: Critical
>             Fix For: 4.2.0
>
>         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

Mime
View raw message