Description

 This page provides the possible reason for the error " Invalid metric tree on local site " in compute snapshot step and the snapshot crashes.

Figure 1

 

Sample Log file with the error

loading snapshot definition...
Found 1 applications on 1 local sites.
Info: multiple snapshot import and consolidation enabled.
Start exporting exception to local site <Local_base> using SQL transfer.
Start computing snapshot on local site <Local_base>
Error: invalid metric tree on local site <Local_base>. Found self dependencies on the following metrics:
61001, 7390, 7391


Observed in CAST AIP

 

Release
Yes/No
8.3.x(tick)
8.2.x (tick) 
8.1.x (tick) 
8.0.x(tick) 
7.3.x(tick) 
Observed on RDBMS
 

 

RDBMS
Yes/No
Oracle Server(tick) 
Microsoft SQL Server(tick) 
CSS3(tick)
CSS2(tick) 
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Discover and deliver the application
  2. Accept and set as current version
  3. Run Analysis + Snapshot
Impact of the Problem

The impact of the problem on the analysis or the dashboard is: Snapshot will not be successful so there will be no results on the dashboard for this snapshot.

Action Plan

To fix the problem, proceed as follows

  1. This issue is caused by a configuration problem in assessment model.
  2. As shown in the above log file last there numbers are the metric Ids because of which the problem occurs.
  3. Open CAST-MS and open Assessment model view
  4. Search for the metric ids from the last line of the log as shown below.
    Figure 2
  5. Double click the quality rule which should take to rule specific settings. as shown below
    Figure 3
  6. GoTo computing settings tab of the rule as shown above.
  7. Under the quality rules to compute before the current one,you will find a list of rules. In that list,you will find that 7390 is checked. So,this creates self references of rules and crashes the snapshot.
  8. Un check this option to remove the cycle. These are not the default configurations.
Impact of the solution on the analysis or the dashboard

 Impact of the solution on the analysis or the dashboard is: The results for this snapshot can be seen

Notes/comments
 
Related Pages