Issue with cyclical runtime dependency when trying to activate CDS
When trying to activate a CDS .hdbdd artifact I get the error given below. Looking at the trace file I don't see any cyclical dependency, which I thought may refer to associations where relationship connection may follow 1>2>3>1.
Indeed, when I remove all entity declaration from the .HDBDD artifact and try to activate I still get the same error.
It would appear I cannot force activation on my .HDBDD as this would delete entities (tables) that attribute views refer to, thus breaking them and also breaking analytic views that refer to attribute views? I would have expected that I could force activation and the "broken" information views could be maintained.
To check the .HDBDD syntax, declared entities and associations I simply recreated the .HDBDD in full in a different schema - activated successfully first time.
Any ideas gratefully received
"exception 40165:
repository/base/activation/activator.cpp:662
Repository: Cyclic runtime dependency detected.;Found circular dependency of runtimes. For details see indexserver trace file."
From the indexserver trace file
Object dependencies:
digraph G {
0 -> 1; 0 -> 2; 0 -> 3; 0 -> 4; 0 -> 5; 0 -> 6; 0 -> 7; 0 -> 8; 0 -> 9; 0 -> 10; 0 -> 11; 0 -> 12; 0 -> 13; 0 -> 14; 0 -> 15; 0 -> 16; 0 -> 17; 0 -> 18; 0 -> 19; 0 -> 20; 0 -> 21; 0 -> 22; 0 -> 23;
21 -> 24; 21 -> 25;
20 -> 26; 20 -> 27;
17 -> 28; 17 -> 29; 17 -> 25;
19 -> 30; 19 -> 27;
15 -> 31;
16 -> 32; 16 -> 25;
7 -> 8;
6 -> 16; 6 -> 17; 6 -> 18; 6 -> 19; 6 -> 20; 6 -> 21;
2 -> 16; 2 -> 17; 2 -> 18; 2 -> 19; 2 -> 20; 2 -> 21;
12 -> 33;
33 -> 35; 33 -> 13;
25 -> 36;
27 -> 37;
13 -> 34;
0 [label="hpl.missioncontrol.data/MC.hdbdd\n phase: A/A"];
8 [label="hpl.missioncontrol.models/AN_ACHIEVEMENT_BY_PILOT_MISSION.analyticview\n phase: R/R"];
9 [label="hpl.missioncontrol.models/AN_ACHIEVEMENT_BY_PILOT_MISSION_test.analyticview\n phase: R/R"];
21 [label="hpl.missioncontrol.models/AN_MISSION_AVG_ALT.analyticview\n phase: R/R"];
20 [label="hpl.missioncontrol.models/AN_MISSION_AVG_SPEED.analyticview\n phase: R/R"];
17 [label="hpl.missioncontrol.models/AN_MISSION_MAX_ALT.analyticview\n phase: R/R"];
19 [label="hpl.missioncontrol.models/AN_MISSION_MAX_SPEED.analyticview\n phase: R/R"];
15 [label="hpl.missioncontrol.models/AN_MISSION_MESSAGECATEGORYID_RANKING.analyticview\n phase: R/R"];
16 [label="hpl.missioncontrol.models/AN_MISSION_MIN_ALT.analyticview\n phase: R/R"];
18 [label="hpl.missioncontrol.models/AN_MISSION_MIN_SPEED.analyticview\n phase: R/R"];
10 [label="hpl.missioncontrol.models/AT_ACHIEVEMENT.attributeview\n phase: R/R"];
7 [label="hpl.missioncontrol.models/AT_ACHIEVEMENT_CONDITION_MESSAGE.attributeview\n phase: R/R"];
6 [label="hpl.missioncontrol.models/AT_MESSAGE_CATEGORY_ID.attributeview\n phase: R/R"];
2 [label="hpl.missioncontrol.models/AT_MESSAGE_ID.attributeview\n phase: R/R"];
14 [label="hpl.missioncontrol.models/AT_MISSION_LOG.attributeview\n phase: R/R"];
11 [label="hpl.missioncontrol.models/AT_MISSION_LOG_ACHIEVEMENT.attributeview\n phase: R/R"];
12 [label="hpl.missioncontrol.models/AT_MISSION_LOG_ACHIEVEMENT_GROUP.attributeview\n phase: R/R"];
3 [label="hpl.missioncontrol.models/AT_PILOT_MISSION.attributeview\n phase: R/R"];
4 [label="hpl.missioncontrol.models/AT_SCENARIO_TERRAIN.attributeview\n phase: R/R"];
5 [label="hpl.missioncontrol.models/AT_SPATIAL_SHAPE.attributeview\n phase: R/R"];
33 [label="hpl.missioncontrol.models/CV_ACHIEVEMENT_BY_PILOT_MISSION.calculationview\n phase: R/R"];
34 [label="hpl.missioncontrol.models/CV_ACHIEVEMENT_PILOT_SCORE.calculationview\n phase: R/R"];
25 [label="hpl.missioncontrol.models/CV_MISSION_STATS_ALT.calculationview\n phase: R/R"];
27 [label="hpl.missioncontrol.models/CV_MISSION_STATS_SPEED.calculationview\n phase: R/R"];
35 [label="hpl.missioncontrol.models/DT_ACHIEVEMENT_PILOT_SCORE.hdbruldec\n phase: R/R"];
22 [label="hpl.missioncontrol.procedures/get_mission_distance_travelled.hdbprocedure\n phase: R/R"];
23 [label="hpl.missioncontrol.procedures/get_mission_nextId.hdbprocedure\n phase: R/R"];
13 [label="hpl.missioncontrol.procedures/get_mission_pilot_achievement.hdbprocedure\n phase: R/R"];
1 [label="hpl.missioncontrol.procedures/reset_missionLogs.hdbprocedure\n phase: R/R"];
24 [label="hpl.missioncontrol.services/missionAvgAlt.xsodata\n phase: R/R"];
26 [label="hpl.missioncontrol.services/missionAvgSpeed.xsodata\n phase: R/R"];
29 [label="hpl.missioncontrol.services/missionMaxAlt.xsodata\n phase: R/R"];
28 [label="hpl.missioncontrol.services/missionMaxAltitude.xsodata\n phase: R/R"];
30 [label="hpl.missioncontrol.services/missionMaxSpeed.xsodata\n phase: R/R"];
31 [label="hpl.missioncontrol.services/missionMessageCategoryIdRanking.xsodata\n phase: R/R"];
32 [label="hpl.missioncontrol.services/missionMinAlt.xsodata\n phase: R/R"];
36 [label="hpl.missioncontrol.services/missionStatsAlt.xsodata\n phase: R/R"];
37 [label="hpl.missioncontrol.services/missionStatsSpeed.xsodata\n phase: R/R"];
subgraph "cluster_Business Rules runtime" {label="Business Rules runtime"; 35;}
subgraph "cluster_CDS runtime" {label="CDS runtime"; 0;}
subgraph "cluster_OData service runtime" {label="OData service runtime"; 24;26;29;28;30;31;32;36;37;}
subgraph "cluster_Procedure Runtime" {label="Procedure Runtime"; 22;23;13;1;}
subgraph "cluster_colviews-runtime" {label="colviews-runtime"; 8;9;21;20;17;19;15;16;18;10;7;6;2;14;11;12;3;4;5;}
subgraph "cluster_sqlproc-runtime" {label="sqlproc-runtime"; 33;34;25;27;}
}