Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
VirtualCenter Throws invalidArgument::Exception querySpec.interval
Details
VirtualCenter 2.0.2 used to ignore incompatible interval values between hosts. With VirtualCenter 2.5 or higher, VirtualCenter throws an invalidArgument:: Exception querySpec.interval with ESX Server 2.5 hosts using an interval of 20 seconds and with ESX Server hosts 3.0.x using an interval value of 60 seconds.
Solution
Prior to VirtualCenter 2.5, the intervalID specification was not adhered to. If the intervalID given did not comply with the above two conditions, the query was silently ignored. For VirtualCenter 2.5 or higher, VirtualCenter throws an invalid argument exception.
An invalid argument exception is thrown if:
- The entity queried for is NULL or is not a registered PerfProvider .
- The start or the end time is before epoch.
- The start time is the same as or after the end time.
- The intervalID is not valid because validity is guaranteed when the intervalID is:
- Equal to the refresh rate for a provider.
- One of the intervals used previously, which is stored as historical information.
For additional information about querySpec , see the VI API Reference Guide at http://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide.
Keywords
Feedback
Actions
- KB Article: 1003256
- Updated: Aug 14, 2009
- Products:
VMware Infrastructure SDK - Product Versions:
VMware Infrastructure SDK 2.0.x
VMware VirtualCenter 2.5.x

