-
-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default theme is not loaded from inside plantuml JAR library #948
Comments
Thanks for the report. |
I looked a bit in the code, the method SecurityUtils.getPath is actually the one which catches an IOException and does an e.printStackTrace(), so it seems that even the code before your fix worked but showed that exception in the console. |
@arnaudroques and thanks for the help |
You're right, thanks. We're going to improve this. |
Hi all, [This is an Issue Review]
Regards. |
Let's say the method "net.sourceforge.plantuml.style.StyleLoader.getInputStreamForStyle(String)" is called with "plantuml.skin", the method "FileSystem.getFile" throws an IOException because the file is not on the local disk and thus the fallback "StyleLoader.class.getResourceAsStream" is no longer called to retrieve the skin from inside the JAR.
So I get this error when attempting to convert a diagram to SVG:
The text was updated successfully, but these errors were encountered: