CMS Snapshot Analysis - Synchronize services - Fatal Error - Duplicated Analysis Unit Name
Description
When running a snapshot, the “synchronize services’ step ends in an error (“Duplicated

Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
| 8.1.x | ✅ |
| 8.0.x | ✅ |
| 7.3.x | ✅ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS3 | ✅ |
| CSS2 | ✅ |
Step by Step Scenario
Below is the step-by-step scenario leading to the problem:
- Deliver code
- Analyze code
- Configure modules
- Run snapshot - Error - Duplicated
Impact of the Problem
The impact of the problem on the analysis or the dashboard is:
No results as snapshot is not run
Action Plan
This problem is because of the result of analysis units with duplicated names when the configuration of the modules is based on analysis unit content.
The determination whether this is the issue in this case was determined by investigation of the configuration within CAST-MS in regards to the analysis unit that is listed as duplicated in the error message during synchronization.
To determine if this is the case:
- Check if the module configuration is based on analysis unit content. For more information on the module configuration, see the documentation for your CAST release. (for 8.2, see documentation here: User Defined Module)
- Check if the analysis unit names are duplicated in CAST-MS.
- Check the current version tab in CAST-MS
- In the deployed packages you can check sort the analysis units by name and check for duplication.
Sorting by name is done by clicking on the “name” column header. For more information, see the documentation for your CAST release. (For 8.2, see the documentation here: CMS - Current Version tab) - If the configuration has analysis units with duplicated names and the configuration of the modules is based on analysis unit content, then this error will occur. For more information on the module configuration, please see the documentation. (for 8.2: User Defined Module )
To fix the problem, proceed as follows:
- Modify the name of the analysis units such that they are no longer duplicated. For example, if several analysis units are named ‘WebContent’, then rename them to be unique like ‘WebContent1’, ‘WebContent2’, … (for 8.2, see documentation here: CMS - Analysis Unit editor )
- Delete all user defined modules (for 8.2, see documentation here: CMS - Modules tab )
- Drop all snapshots and analysis results (for 8.2, see documentation here: CMS - Execute tab )
- Create new user defined modules (for 8.2, see documentation here: CMS - Modules tab )
- Run the analysis proceeded by the snapshot
Notes/comments
Ticket # 7902
Related Pages