Version: 6.5.0
Environment: Docker all-in-one-postgres image
I’m getting the following exception when modeler creating a thumbnail upon saving the BPMN diagram. Is there a solution for this?
2019-07-26T00:22:36.562306377Z
java.lang.NullPointerException: null
at sun.awt.FontConfiguration.getVersion(Unknown Source) ~[?:1.8.0_212]
at sun.awt.FontConfiguration.readFontConfigFile(Unknown Source) ~[?:1.8.0_212]
at sun.awt.FontConfiguration.init(Unknown Source) ~[?:1.8.0_212]
at sun.awt.X11FontManager.createFontConfiguration(Unknown Source) ~[?:1.8.0_212]
at sun.font.SunFontManager$2.run(Unknown Source) ~[?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at sun.font.SunFontManager.<init>(Unknown Source) ~[?:1.8.0_212]
at sun.awt.FcFontManager.<init>(Unknown Source) ~[?:1.8.0_212]
at sun.awt.X11FontManager.<init>(Unknown Source) ~[?:1.8.0_212]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_212]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_212]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_212]
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_212]
at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_212]
at sun.font.FontManagerFactory$1.run(Unknown Source) ~[?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at sun.font.FontManagerFactory.getInstance(Unknown Source) ~[?:1.8.0_212]
at sun.font.SunFontManager.getInstance(Unknown Source) ~[?:1.8.0_212]
at sun.font.FontDesignMetrics.getMetrics(Unknown Source) ~[?:1.8.0_212]
at sun.java2d.SunGraphics2D.getFontMetrics(Unknown Source) ~[?:1.8.0_212]
at org.flowable.image.impl.DefaultProcessDiagramCanvas.initialize(DefaultProcessDiagramCanvas.java:219) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.image.impl.DefaultProcessDiagramCanvas.<init>(DefaultProcessDiagramCanvas.java:178) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.image.impl.DefaultProcessDiagramGenerator.initProcessDiagramCanvas(DefaultProcessDiagramGenerator.java:1041) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.image.impl.DefaultProcessDiagramGenerator.generateProcessDiagram(DefaultProcessDiagramGenerator.java:574) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.image.impl.DefaultProcessDiagramGenerator.generateImage(DefaultProcessDiagramGenerator.java:553) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.image.impl.DefaultProcessDiagramGenerator.generateImage(DefaultProcessDiagramGenerator.java:560) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.image.impl.DefaultProcessDiagramGenerator.generatePngImage(DefaultProcessDiagramGenerator.java:565) ~[flowable-image-generator-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.ui.modeler.util.ImageGenerator.createImage(ImageGenerator.java:39) ~[flowable-ui-modeler-logic-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.ui.modeler.service.ModelImageService.generateThumbnailImage(ModelImageService.java:70) ~[flowable-ui-modeler-logic-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.flowable.ui.modeler.service.ModelImageService$FastClassBySpringCGLIB$6d09a974.invoke(<generated>) ~[flowable-ui-modeler-logic-6.5.0-SNAPSHOT.jar:6.5.0-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) ~[spring-aop-5.1.7.RELEASE.jar:5.1.7.RELEASE]```