Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-9791

Error while generating process diagram, image will not be stored in repository

    Details

      Description

      Workflow image will not be stored in repo. Running the same config locally works.

      Seems to be only related with docker

      Dec 04, 2017 12:58:20 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
      WARNING: Error while generating process diagram, image will not be stored in repository
      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:856)
          at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramCanvas.<init>(ProcessDiagramCanvas.java:181)
          at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramCanvas.<init>(ProcessDiagramCanvas.java:201)
          at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.initProcessDiagramCanvas(ProcessDiagramGenerator.java:798)
          at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:392)
          at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:426)
          at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generatePngDiagram(ProcessDiagramGenerator.java:376)
          at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:125)
          at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:50)
          at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:80)
          at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:35)
          at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
          at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
          at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
          at org.activiti.engine.impl.interceptor.RetryInterceptor.execute(RetryInterceptor.java:49)
          at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
          at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
          at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:78)
          at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156)
          at org.activiti.osgi.Extender.checkBundle(Extender.java:224)
          at org.activiti.osgi.Extender.bundleChanged(Extender.java:154)
          at org.activiti.osgi.Extender.addingBundle(Extender.java:107)
          at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
          at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)
          at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
          at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
          at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
          at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
          at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
          at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)
          at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)
          at org.apache.felix.framework.StatefulResolver.fireResolvedEvents(StatefulResolver.java:1244)
          at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:465)
          at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4106)
          at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
          at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
          at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253)
          at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225)
          at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)
          at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
          at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:243)
          at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:253)
          at org.apache.felix.fileinstall.internal.FileInstall$ConfigAdminSupport$Tracker.updated(FileInstall.java:377)
          at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.updated(ManagedServiceFactoryTracker.java:159)
          at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:93)
          at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1776)
          at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)
          at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)
          at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            • Assignee:
              alin Alin Brici
              Reporter:
              hanns.nolan Hanns Nolan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: