Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3334

On server without display, Hop Server throws error in status

    XMLWordPrintableJSON

Details

    Description

      When trying to draw an SVG of a pipeline or workflow we get the following:

       

       

      org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
      at org.eclipse.swt.SWT.error(SWT.java:4919)
      at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1165)
      at org.eclipse.swt.widgets.Display.create(Display.java:1090)
      at org.eclipse.swt.graphics.Device.<init>(Device.java:168)
      at org.eclipse.swt.widgets.Display.<init>(Display.java:642)
      at org.eclipse.swt.widgets.Display.<init>(Display.java:633)
      at org.eclipse.swt.widgets.Display.getDefault(Display.java:2379)
      at org.eclipse.swt.widgets.Shell.<init>(Shell.java:272)
      at org.eclipse.swt.widgets.Shell.<init>(Shell.java:265)
      at org.apache.hop.ui.hopgui.HopGui.<init>(HopGui.java:241)
      at org.apache.hop.ui.hopgui.HopGui.<init>(HopGui.java:212)
      at org.apache.hop.ui.hopgui.HopGuiImpl.getInstanceInternal(HopGuiImpl.java:26)
      at org.apache.hop.ui.hopgui.HopGui.getInstance(HopGui.java:257)
      at org.apache.hop.ui.hopgui.HopGui.getDataOrchestrationPerspective(HopGui.java:1418)
      at org.apache.hop.testing.gui.TestingGuiPlugin.getStateMap(TestingGuiPlugin.java:1155)
      at org.apache.hop.testing.gui.TestingGuiPlugin.getCurrentUnitTest(TestingGuiPlugin.java:1165)
      at org.apache.hop.testing.xp.DrawGoldenDataSetOnTransformExtensionPoint.callExtensionPoint(DrawGoldenDataSetOnTransformExtensionPoint.java:55)
      at org.apache.hop.testing.xp.DrawGoldenDataSetOnTransformExtensionPoint.callExtensionPoint(DrawGoldenDataSetOnTransformExtensionPoint.java:42)
      at org.apache.hop.core.extension.ExtensionPointMap.callExtensionPoint(ExtensionPointMap.java:149)
      at org.apache.hop.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:41)
      at org.apache.hop.pipeline.PipelinePainter.drawTransform(PipelinePainter.java:892)
      at org.apache.hop.pipeline.PipelinePainter.drawPipeline(PipelinePainter.java:298)
      at org.apache.hop.pipeline.PipelinePainter.drawPipelineImage(PipelinePainter.java:207)
      at org.apache.hop.pipeline.PipelineSvgPainter.generatePipelineSvg(PipelineSvgPainter.java:60)
      at org.apache.hop.www.GetPipelineImageServlet.doGet(GetPipelineImageServlet.java:81)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
      at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:567)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
      at org.eclipse.jetty.server.Server.handle(Server.java:516)
      at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
      at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
      at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
      at java.lang.Thread.run(Thread.java:748)
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcasters Matt Casters
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m