2019.8: -pipemap for diagrams containing no links give non-zero exit code

0 votes
asked Aug 27 in Bug by Filip

https://forum.plantuml.net/9816/pipemap-returns-non-zero-exit-code-even-on-success was fixed in 2019.8.

However, another bug was introduced. With older versions, you could run -pipemap without any links in the diagram, and it would return a 0 exit code:

$ echo "a -> b" | java -jar plantuml.jar -pipemap
Picked up JAVA_TOOL_OPTIONS: -Xmx500m

$ echo $?
0

But in 2019.8 it returns an error and a non-zero exit code:

$ echo "a -> b" | java -jar plantuml.jar -pipemap
Picked up JAVA_TOOL_OPTIONS: -Xmx500m

No diagram found
$ echo $?
100

1 Answer

0 votes
answered Aug 28 by plantuml (207,620 points)
Thanks for the feedback.

This should be ok with last relase 1.2019.9

Tell us if it's not working for you !
commented Aug 29 by Filip

Unfortunately, the error still persists:

7:36 $ echo "a -> b" | java -jar ~/tmp/plantuml.1.2019.9.jar  -pipemap
Picked up JAVA_TOOL_OPTIONS: -Xmx500m

No diagram found

...