You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Likitha Shetty (JIRA)" <ji...@apache.org> on 2014/01/30 13:58:12 UTC

[jira] [Created] (CLOUDSTACK-5994) Hitting IndexOutOfBoundsException durin GetVmStatsCommand

Likitha Shetty created CLOUDSTACK-5994:
------------------------------------------

             Summary: Hitting IndexOutOfBoundsException durin GetVmStatsCommand
                 Key: CLOUDSTACK-5994
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5994
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: VMware
    Affects Versions: 4.3.0
            Reporter: Likitha Shetty
            Assignee: Likitha Shetty
             Fix For: 4.3.0


Update vCenter server setting 'Statistics Level' to 2.
Observe the below in the management server logs
Message: Index: 3, Size: 2
java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at com.cloud.hypervisor.vmware.resource.VmwareResource.getVmStats(VmwareResource.java:6574)
at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3847)
at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
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 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
2014-01-16 13:47:35,171 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-237:ctx-86777ead) Seq 5-1171587869: Response Received:



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)