plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.73k stars 881 forks source link

tests: add not working example about stdlib #1692

Closed The-Lum closed 2 months ago

The-Lum commented 3 months ago

Hi PlantUML team,

During tests on the stdlib topic, here is one not working example:

@startuml
stdlib
@enduml

✔️ OK on local or on web ❌ But KO on the test directory with gradle, junit, and -utext output...

Thanks for your analyse... Regards, Th.

The-Lum commented 3 months ago

FYI (if that can help testing...), with an other similar test, I obtain:

java.lang.NullPointerException
    at java.base/java.io.Reader.<init>(Reader.java:167)
    at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
    at net.sourceforge.plantuml.preproc.Stdlib.getAll(Stdlib.java:335)
The-Lum commented 2 months ago

This in now fixed; Thanks @arnaudroques to be69889 :+1:

Then here is this PR: