Getting "Unexpected metric query error" in MOM log after upgrading to 10.5.1

Document ID:  TEC1022342
Last Modified Date:  07/05/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details


  • CA Application Performance Management


  • CA Application Performance Management:Release:10.5.1



Observed the following error in the MOM's IntroscopeEnterpriseManager.log since upgraded to 10.5.1:

[ERROR] [PO:client_main Mailman 1] [Manager.MetricCalculatorBean] Unexpected metric query error
com.wily.introscope.spec.server.beans.metricdata.MetricQueryException: com.wily.introscope.spec.metric.AgentNotFoundException: Unknown Error
    at com.wily.introscope.server.beans.metricdata.persisted.HistoricalDataFetcherFromCache.getValues
    at com.wily.introscope.server.beans.metricdata.persisted.PersistedQueryHelper.executeQueryBlob
    at com.wily.introscope.server.beans.metricdata.MetricDataManager$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: com.wily.introscope.spec.metric.AgentNotFoundException: Unknown Error
    at com.wily.introscope.server.enterprise.entity.agent.AgentEntity.getWatchedAgent(
    at com.wily.introscope.server.enterprise.entity.agent.AgentEntity.getRecentHistory(
    at com.wily.introscope.server.enterprise.entity.agent.AgentEntity.getRecentHistory(
    at com.wily.introscope.server.beans.metricdata.persisted.HistoricalDataFetcherFromCache.getValues
    at com.wily.introscope.server.beans.metricdata.persisted.HistoricalDataFetcherFromCache.getValues
    ... 6 more

Application Performance Management 10.5.1

According to the code, the exception occurs when EM is trying get values for all the metrics in a query and it could not get the value of a particular metric as that metric does not exist. The consequence of this ERROR is that live query could return an empty graph initially and a live search returns error with no result.


The issue has been fixed with a code change in 10.5.2, 10.6 and onward.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255


Not what you were looking for?

Search Again >

Product Information

Support by Product >


Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required


We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{}} will be helping you today.

    View Profile

  • Transfered to {{}}

    {{}} joined the conversation

    {{}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1]}} has ended.
    Thank you for your interest in CA.

    Rate Your Chat Experience.


agent is typing