Plantuml Preview Diagram Doesnt get Loaded

0 votes
asked Nov 12, 2024 in Question / help by ransari79 (120 points)
The preview diagram on VScode is not getting generated. There is no error displayed either, so i am not able to understand the root cause.

However, it use to work initially but after few weeks the preview diagram stopped loading. I didnt made any changes.

I even uninstalled all the plantuml extension and even the vscode and reinstalled everything, but still same issue.

Any help would be appreciated, thanks in advance.
commented Nov 12, 2024 by The-Lu (76,960 points)

Hello R.,

  • Could you precise the name and the version of your plugin?
  • What is the configuration of the plugin?
  • Have you a java version installed on your side?
  • How is used plantuml? jar on local? by web-server call?

FYI this forum is principally about the PlantUML core function (and not precisely about plugin). 

Regards,
Th.

1 Answer

0 votes
answered Jan 29 by anonymous
Hi,
I'm experiencing the same.
If I load the UML file into the PlantUML browser of our PlantUML running in Docker, it all works fine.

But the preview from VS Code stays empty without any information.

I'm running the jebbs.plantuml plugin version 2.18.1 on VS Code 1.96.

I configured the PlantUML server as http://docker01:9999/

I'm running my VS Code on a VMWare Horizon virtual desktop.

Regards,

Rob van Eerd
commented Jan 29 by Rob van Eerd
I fixed my issue.

Somehow I forgot to (properly) configure the "Render" setting.

It was empty. After I set it to "PlantUMLServer" I was able to generate / render my diagram.

Regards,
Rob,
...