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

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

Commit e520ff456801e9a7b57fe56ee78f4f649675c082 in branch refs/heads/master 
from Devdeep Singh <devd...@gmail.com>
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e520ff4 ]

CLOUDSTACK-2122. Virtual machine id should be a required parameter for 
findHostsForMigration api. Fixing it.

                
> SXM: findHostsForMigration API is causing NPE
> ---------------------------------------------
>
>                 Key: CLOUDSTACK-2122
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2122
>             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
>            Reporter: Srikanteswararao Talluri
>            Assignee: Devdeep Singh
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Fire findHostsForMigration API 
> It is causing NPE
> 2013-04-20 17:52:43,959 ERROR [cloud.api.ApiServer] (ApiServer-7:null) 
> unhandled exception executing api command: findHostsForMigration
> java.lang.NullPointerException
>         at 
> com.cloud.utils.AnnotationHelper.getTableName(AnnotationHelper.java:34)
>         at 
> com.cloud.utils.exception.CloudRuntimeException.addProxyObject(CloudRuntimeException.java:59)
>         at 
> com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:706)
>         at 
> org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:76)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:454)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:304)
>         at com.cloud.api.ApiServer.handle(ApiServer.java:238)
>         at 
> org.apache.http.protocol.HttpService.doService(HttpService.java:375)
>         at 
> org.apache.http.protocol.HttpService.handleRequest(HttpService.java:290)
>         at com.cloud.api.ApiServer$WorkerTask.run(ApiServer.java:912)
>         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-04-20 17:52:43,997 DEBUG [agent.manager.DirectAgentAttache] 
> (DirectAgent-419:null) Seq 5-732758021: Executing request
> 2013-04-20 17:

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

Reply via email to