Bug in association of association

0 votes
asked Nov 5, 2013 in To be sorted by laurocesar (120 points)
Hi
 
First of all, I want to congratulate you. PlantUML is really great!
 
But I have the following situation, comes up to an Exception (using last version of PlantUML - 7985):
 
@startuml

class recording <<relator>>
class track <<kind>>
class performerArtist <<mixin>>

recording "1.. *" -- "1.. *" performerArtist : <<mediation>> m1
recording "1" -- "1" track : <<mediation>> m2


track "1.. *" -- "1.. *" performerArtist : <<material>> records
(track,performerArtist) *..  "1.. *" recording : BUG HERE


@enduml

 

The exception:

Exception net.sourceforge.plantuml.svek.EmptySvgException
net.sourceforge.plantuml.cucadiagram.UnparsableGraphvizException: net.sourceforge.plantuml.svek.EmptySvgException
at net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek2.createFile(Unknown Source)
at net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek.createFileInternal(Unknown Source)
at net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek.createFile(Unknown Source)
at net.sourceforge.plantuml.cucadiagram.CucaDiagram.exportDiagramInternal(Unknown Source)
at net.sourceforge.plantuml.UmlDiagram.exportDiagram(Unknown Source)
at net.sourceforge.plantuml.PSystemUtils.exportDiagramsCuca(Unknown Source)
at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(Unknown Source)
at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(Unknown Source)
at net.sourceforge.plantuml.Run.manageFileInternal(Unknown Source)
at net.sourceforge.plantuml.Run.processArgs(Unknown Source)
at net.sourceforge.plantuml.Run.manageAllFiles(Unknown Source)
at net.sourceforge.plantuml.Run.main(Unknown Source)
Caused by: net.sourceforge.plantuml.svek.EmptySvgException
at net.sourceforge.plantuml.svek.DotStringFactory.solve(Unknown Source)
... 12 more

 

Everything becomes fine if I drop the blue lines:

@startuml

class recording <<relator>>
class track <<kind>>
class performerArtist <<mixin>>

track "1.. *" -- "1.. *" performerArtist : <<material>> records

(track,performerArtist) *..  "1.. *" recording : NO BUG ANYMORE

@enduml

 

or if I drop the bold text from the red line:

 
@startuml

class recording <<relator>>
class track <<kind>>
class performerArtist <<mixin>>

recording "1.. *" -- "1.. *" performerArtist : <<mediation>> m1
recording "1" -- "1" track : <<mediation>> m2

track "1.. *" -- "1.. *" performerArtist : <<material>> records

(track,performerArtist) *..  "1.. *" recording 

@enduml

But, in this last case, the result is strange (image link here: https://drive.google.com/file/d/0B-stUfZ8C6-rN2xoOEZnN2FLbmc).


Could you, please, check it out?

Thank you a lot!

 

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.
...