'dot.exe stop' - rendering a 27 line PUML file

0 votes
asked Jan 25 in Bug by Olivier Wall

I get "dot.exe has stopped working" and a 5817ms render time (dot.exe does eventually return something after the failure message) when using the PlantUML IntelliJ plugin (with -Xmx1024m) on the following:-

@startuml
skinparam class {
       FontSize 18
}
foo *--> ColocatedAccessTransitDiverse : a
foo *--> CustomerProvidedAccessTransitDiverse : AccessRequirements
class ColocatedAccessTransitDiverse {
    a1
    a2
    a3
    a4
    a5
    a6
/'
    -- attributes --
'/
}
ColocatedAccessTransitDiverse -|> AccessRequirements :a
ColocatedAccessTransitDiverse o-> AccessCircuit : Access
ColocatedAccessTransitDiverse o-> CustomerprovidedCPE : a
ColocatedAccessTransitDiverse o-> WANTerminationSpecification : a
ColocatedAccessTransitDiverse o-> WANTerminationSpecification : SecondaryGenericCPE
CustomerProvidedAccessTransitDiverse -|> AccessRequirements :a
CustomerProvidedAccessTransitDiverse o-> AccessCircuit : a
CustomerProvidedAccessTransitDiverse o-> CustomerprovidedCPE
CustomerProvidedAccessTransitDiverse o-> WANTerminationSpecification : SecondaryGenericCPE
@enduml
It is also failing to render the last attribute a6 in the class definition, even though that is just before the commented out section.
If I change the fontsize to <18, or any of the long labels to something shorter, or remove the commented out attribute section altogether, or reduce the number of attributes it works OK.
In summary problem it seems to be very sensitive to the size of the boxes being linked and the labels on the lines.
(This structure is part of a much larger diagram auto-generated by code, which I have manually whittled down to isolate the problem, so I cant do things like change the arrow directions.)

1 Answer

0 votes
answered Jan 31 by mgrol (1,960 points)

Hi,

in my case, your example is rendered without problems with the Intellij Plugin as well as with the stand-alone gui.

As a general note, the Intellij plugin is not provided from plantuml.com but someone else. For the way forward, try to use the stand-alone gui from plantuml to see if it works on your machine. Please see here: http://plantuml.com/gui .

If this does't work, more detailed information would be helpful. 

@startuml

version

@enduml

BR,

Michael

...