Confusing error message "no @startuml found"
See original GitHub issueCopied a uml document from Jira, it lacks the @enduml tag and I get the confusing error message “no @startuml found”.
To reproduce, create a file with the following uml:
@startuml
:Hello world;
:This is defined on
several **lines**;
Then press Alt+D:
Adding the @enduml tag fixed the problem. However, for a newbie pasting some random puml this was a bit confusing.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
plantUML class diagram not visualized and given error
I installed this plugin and tried to draw uml diagram using PlantUML in IntelJ (or Visual Studio code). But both IDEs gave the...
Read more >Frequently Asked Questions - PlantUML
This message means that PlantUML is getting an empty flow from dot execution, and therefore cannot generate UML diagrams.
Read more >Error: Restricted shell escape. PlantUML cannot be called - TeX
I am using latex-workshop with VS Code. beamer · texlive · linux · vscode · Share.
Read more >Special Commands - Doxygen Manual
When this command is put in a comment block of a function, method or variable then doxygen will not generate an overview for...
Read more >Auto generating UML diagrams from ABAP code - SAP Blogs
And occasionally by doing the doco, I even find some small errors in my code that I hadn't seen before. InnoJam Sydney 2011....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Took me some time, but I think it’s here: https://github.com/qjebbs/vscode-plantuml/blob/376caa7a89bc00f181f4ce13cc6603bc1c78c9ff/src/plantuml/renders/local.ts#L49
Here’s how to reproduce it:
Then view the
out.png
:I tagged the PlantUML developer so he hopefully will see it here.
I also wanted to report this upstream but gave up since I could not get plantuml.jar to report the same error.
If we reported this as is I’m pretty sure PlantUml would say it’s a problem in this vscode-plantuml (since we get different behavior using plantuml command line).