Bug: Empty Sequence Diagram crashes plantuml.jar

0 votes
asked Feb 5, 2015 in Bug by anonymous
I planned to create an empty sequence diagram. But this seems to break even PlantUML server:
 
@startuml
hide footbox
autonumber
scale 0.5
skinparam shadowing false
@enduml
 
best regards,
 
JNN

1 Answer

0 votes
answered Feb 5, 2015 by plantuml (211,860 points)
 
Best answer

Thanks for the report.

We will solve this crash.

Unfortunatly, we will display an error message here rather than an empty sequence diagram.

Because in your case, PlantUML thinks that you are writing here a class diagram, something like:

@startuml
hide footbox
class autonumber
scale 0.5
skinparam shadowing false
@enduml

So the program will guess that you have forgotten the "class" keyword before "autonumber". This would transform your example into a valid diagram.

Sorry about that!

...