Sailaja Mada created CLOUDSTACK-6407:
----------------------------------------
Summary: NPE while collecting VM statistics
Key: CLOUDSTACK-6407
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6407
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.4.0
Reporter: Sailaja Mada
Setup : 4.4 with XenServer 6.2.5
1. Install and configure Adv zone using XenServer 6.2.5
2. Deployed 2 Windows (8 and 2012) VM's using Domain user account .
Observed NPE's while collecting VM statistics in the Management server
log(Attached)
2014-04-15 00:00:49,574 DEBUG [c.c.s.StatsCollector]
(StatsCollector-4:ctx-2e085056) VmStatsCollector is running...
2014-04-15 00:00:49,588 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Executing request
2014-04-15 00:00:49,618 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Exception Caught while
executing command
java.lang.NullPointerException
2014-04-15 00:00:49,619 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Response Received:
2014-04-15 00:00:49,619 DEBUG [c.c.a.t.Request] (DirectAgent-69:ctx-9a19b721)
Seq 1-6476457739135503930: Processing: { Ans: , MgmtId: 55355881446856, via:
1, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException","wait":0}}]
}
2014-04-15 00:00:49,619 DEBUG [c.c.a.t.Request] (StatsCollector-4:ctx-2e085056)
Seq 1-6476457739135503930: Received: { Ans: , MgmtId: 55355881446856, via: 1,
Ver: v1, Flags: 10, { Answer } }
2014-04-15 00:00:49,619 DEBUG [c.c.a.m.AgentManagerImpl]
(StatsCollector-4:ctx-2e085056) Details from executing class
com.cloud.agent.api.GetVmStatsCommand: java.lang.NullPointerException
2014-04-15 00:00:49,619 WARN [c.c.v.UserVmManagerImpl]
(StatsCollector-4:ctx-2e085056) Unable to obtain VM statistics.
--
This message was sent by Atlassian JIRA
(v6.2#6252)