-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create a jekyll instance with plantuml plugin #16
Comments
Trying to use Jekyll 4.2.2 starting with jekyll/jekyll as the base image
|
Trying to run
|
Also facing this issue : Jekyll serve fails on Ruby 3.0 #8523 Using the provided workaround ( |
Trying to downgrade to jekyll 3.8 running plantuml --version throw a NPE: bash-5.0# java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (IcedTea 3.12.0) (Alpine 8.212.04-r1)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
bash-5.0# plantuml
Exception in thread "main" java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
at sun.font.SunFontManager$2.run(SunFontManager.java:431)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<init>(SunFontManager.java:376)
at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at sun.font.SunFontManager.getInstance(SunFontManager.java:250)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:864)
at net.sourceforge.plantuml.Run.forceOpenJdkResourceLoad(Run.java:250)
at net.sourceforge.plantuml.Run.main(Run.java:154) AdoptOpenJDK/openjdk-docker#75 # see https://bugs.debian.org/793210
# and https://github.com/docker-library/java/issues/46#issuecomment-119026586
RUN apt-get update && apt-get install -y --no-install-recommends libfontconfig1 && rm -rf /var/lib/apt/lists/* |
First release of a jekyll container with plantuml installed : Next step is to test plantuml usage in the container |
closed by #29 |
Is your feature request related to a problem? Please describe.
Having an environment to reproduce errors using plantuml with jekyll
Describe the solution you'd like
A container with jekyll, plantuml and a
jekyll-plantuml
plugin.Additional context
Example of usage : trying to reproduce the plantuml#1082.
The text was updated successfully, but these errors were encountered: