cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Purushothama (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7136) NPE thrown during listing Hosts For Migration Of VM
Date Fri, 18 Jul 2014 21:08:06 GMT
Chandan Purushothama created CLOUDSTACK-7136:
------------------------------------------------

             Summary: NPE thrown during listing Hosts For Migration Of VM
                 Key: CLOUDSTACK-7136
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7136
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.5.0
            Reporter: Chandan Purushothama
            Priority: Critical
             Fix For: 4.5.0



=================
NullPointer Exception:
=================

2014-07-11 15:38:49,980 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-fe756f7e) ===START===
 10.220.64.12 -- GET  signature=b5ug4%2FGZ2j39PwVI1etwVopiE7o%3D&apiKey=Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&command=queryAsyncJobResult&response=json&jobid=6a85f3b5-98fa-407d-90b6-16ed1b6d3ff5
2014-07-11 15:38:49,999 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-fe756f7e ctx-305f25b6
ctx-957b41d0) ===END===  10.220.64.12 -- GET  signature=b5ug4%2FGZ2j39PwVI1etwVopiE7o%3D&apiKey=Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&command=queryAsyncJobResult&response=json&jobid=6a85f3b5-98fa-407d-90b6-16ed1b6d3ff5
2014-07-11 15:38:50,003 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-0b26583d) ===START===
 10.220.64.12 -- GET  apiKey=Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&virtualmachineid=64f87891-2ae6-486e-9ce0-c02a14bc38ec&command=listHosts&signature=EiTYc1Um98AA34LKUSsqan2vRPA%3D&response=json
2014-07-11 15:38:50,027 DEBUG [o.a.c.a.HostAntiAffinityProcessor] (catalina-exec-5:ctx-0b26583d
ctx-c01743fd ctx-f1ba4ab8) Processing affinity group aff_grp_E3U2D3 for VM Id: 44
2014-07-11 15:38:50,031 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (catalina-exec-5:ctx-0b26583d
ctx-c01743fd ctx-f1ba4ab8) FirstFitAllocator has 1 hosts to check for allocation: [Host[-2-Routing]]
2014-07-11 15:38:50,035 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (catalina-exec-5:ctx-0b26583d
ctx-c01743fd ctx-f1ba4ab8) Found 1 hosts for allocation after prioritization: [Host[-2-Routing]]
2014-07-11 15:38:50,036 ERROR [c.c.a.ApiServer] (catalina-exec-5:ctx-0b26583d ctx-c01743fd
ctx-f1ba4ab8) unhandled exception executing api command: [Ljava.lang.String;@37e5f2d9
java.lang.NullPointerException
	at com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:253)
	at com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:225)
	at com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1226)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy236.listHostsForMigrationOfVM(Unknown Source)
	at org.apache.cloudstack.api.command.admin.host.ListHostsCmd.execute(ListHostsCmd.java:189)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694)
	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517)
	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317)
	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
	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)
2014-07-11 15:38:50,038 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-0b26583d ctx-c01743fd
ctx-f1ba4ab8) ===END===  10.220.64.12 -- GET  apiKey=Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&virtualmachineid=64f87891-2ae6-486e-9ce0-c02a14bc38ec&command=listHosts&signature=EiTYc1Um98AA34LKUSsqan2vRPA%3D&response=json




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message