Smetana exception

0 votes
asked Dec 19, 2023 in Bug by anonymous
@startuml
!pragma layout smetana
skinparam map {
  borderColor #FFFFFF
  backgroundColor #D0D0D0
}
skinparam package {
  borderColor #666666
  backgroundColor #CCCCFF
}
skinparam rectangle {
  borderColor #666666
  backgroundColor #CCCCFF
}
skinparam object {
  borderColor #CCCCFF
  backgroundColor #CCCCFF
}
map " " as HiddenTopBox #FFFFFF {
}
Package "TA_SEB_System_3_1" as _Limb_5161044 {
  map "**Funktionale Anforderung**\n5161051\n<color:#FF0000>**suspect**" as Seed_5161051 #FF7777 {
  }
Seed_5161051 -[hidden]up-> HiddenTopBox
  map "**Funktionale Anforderung**\n5161049" as Seed_5161049 #FF7777 {
  }
Seed_5161049 -[hidden]up-> HiddenTopBox
}
Package "TA_SAS_System_4_1" as _Limb_5097802 {
  map "**Funktionale Anforderung**\n5098859" as Leaf_5098859 {
  }
  map "**Funktionale Anforderung**\n5098861" as Leaf_5098861 {
  }
  map "**Funktionale Anforderung**\n5098855" as Leaf_5098855 {
  }
  map "**Funktionale Anforderung**\n5098857" as Leaf_5098857 {
  }
}
Package "TA_SAS_System_3_1" as _Limb_5097338 {
  map "**Funktionale Anforderung**\n5098739\n<color:#FF0000>**suspect**" as Leaf_5098739 {
  }
  map "**Funktionale Anforderung**\n5098737\n<color:#FF0000>**suspect**" as Leaf_5098737 {
  }
  map "**Funktionale Anforderung**\n5098741\n<color:#FF0000>**suspect**" as Leaf_5098741 {
  }
}
Package "TA_TS_4_1" as _Limb_5646094 {
  map "**Testfall**\n5646095" as Leaf_5646095 {
  }
  map "**Testfall**\n5646097" as Leaf_5646097 {
  }
}
Package "TA_TS_3_1" as _Limb_5069658 {
  map "**Testfall**\n5098753\n<color:#FF0000>**suspect**" as Leaf_5098753 {
  }
}
Package "Test" as _Limb_1338013 {
  map "**Absicherungsauftrag**\n1338054\n<color:#FF0000>**suspect**" as Leaf_1338054 {
  }
}
Package "TA_SBAS_Ebene3_1" as _Limb_5097317 {
  map "**Stakeholder-Anforderung**\n5098761\n<color:#FF0000>**suspect**" as Leaf_5098761 {
  }
}
Package "TA_SEB_System_2_1" as _Limb_5161090 {
  map "**Funktionale Anforderung**\n5161099\n<color:#FF0000>**suspect**" as Leaf_5161099 {
  }
}
Leaf_5098739 -[dashed,thickness=2]right----> Seed_5161051 #000000 : "<color:#000000><<leitet ab>>"
Seed_5161049 -[dashed,thickness=2]right----> Leaf_5098857 #000000 : "<color:#000000><<leitet ab>>"
Seed_5161049 -[dashed,thickness=2]right----> Leaf_5098855 #000000 : "<color:#000000><<leitet ab>>"
Leaf_5098739 -right---> Leaf_5098753 #00A000 : "<color:#00A000><<verifiziert durch>>"
Leaf_5098761 -[dashed,thickness=2]right----> Leaf_5098739 #000000 : "<color:#000000><<leitet ab>>"
Seed_5161051 -[dashed,thickness=2]right----> Leaf_5098861 #000000 : "<color:#000000><<leitet ab>>"
Leaf_5098761 -[dashed,thickness=2]right----> Leaf_5098737 #000000 : "<color:#000000><<leitet ab>>"
Leaf_5098859 -right---> Leaf_5646095 #00A000 : "<color:#00A000><<verifiziert durch>>"
Seed_5161051 -[dashed,thickness=2]right----> Leaf_5098859 #000000 : "<color:#000000><<leitet ab>>"
Leaf_5098859 -right---> Leaf_5646097 #00A000 : "<color:#00A000><<verifiziert durch>>"
Leaf_5098741 -right---> Leaf_5098737 #FF0000 : "<color:#FF0000><<ist abhängig von>>"
Leaf_5161099 -right---> Leaf_5098739 #FF0000 : "<color:#FF0000><<ist abhängig von>>"
Leaf_5098737 -[dashed,thickness=2]right----> Seed_5161049 #000000 : "<color:#000000><<leitet ab>>"
Leaf_5098739 -right--> Leaf_1338054 #D000D0 : "<color:#D000D0><<Basis für Testdesign>>"
Leaf_5098859 -right---> Leaf_5098861 #FF0000 : "<color:#FF0000><<ist abhängig von>>"
Leaf_1338054 -right--> Leaf_5098753 #D000D0 : "<color:#D000D0><<Basis für den Testfall>>"
@enduml
commented Dec 19, 2023 by The-Lu (63,000 points)

Hi every all, and PlantUML team,

FYI, here is the java error stack (with test on V1.2023.13):

java.lang.UnsupportedOperationException: 7sgp99x1l3hzfks5wykxa87gf
smetana.core.Macro.UNSUPPORTED(Macro.java:87)
gen.lib.common.ns__c.init_rank(ns__c.java:233)
gen.lib.common.ns__c.rank2(ns__c.java:879)
gen.lib.common.ns__c.rank(ns__c.java:955)
gen.lib.dotgen.position__c.dot_position(position__c.java:649)
gen.lib.dotgen.dotinit__c.dotLayout(dotinit__c.java:371)
gen.lib.dotgen.dotinit__c.doDot(dotinit__c.java:488)
gen.lib.dotgen.dotinit__c.dot_layout(dotinit__c.java:543)
gen.lib.dotgen.dotinit__c$2.exe(dotinit__c.java:535)
gen.lib.gvc.gvlayout__c.gvLayoutJobs(gvlayout__c.java:152)
net.sourceforge.plantuml.sdot.CucaDiagramFileMakerSmetana.getTextBlock(CucaDiagramFileMakerSmetana.java:469)
net.sourceforge.plantuml.sdot.CucaDiagramFileMakerSmetana.createFileLocked(CucaDiagramFileMakerSmetana.java:440)

To help to test and dev.
Regards,
Th.

commented Dec 24, 2023 by kirchsth (4,800 points)

Hi every all, and PlantUML team,
simplified the problem to help to test and dev.
Regards,
Helmut

@startuml
!pragma layout smetana

' if the line is here it is working
' [L_5161099] -right-> L_5098739 : "C-IAV"

[L_5098739] -right-> S_5161051 : "C-LA"

' if the line is here (like in orig) it is not working
[L_5161099] -right-> L_5098739 : "C-IAV"

S_5161051 -right-> L_5098861 : "C-LA"
L_5098739 -right-> L_1338054 : "C-BFT"
L_5098739 -right-> L_5098753 : "C-VD"
L_5098741 -right-> L_5098737 : "C-IAV"
L_5098859 -right-> L_5098861 : "C-IAV"
L_5098859 -right-> L_5646095 : "C-VD"
L_5098859 -right-> L_5646097 : "C-VD"
@enduml

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...