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

In Pipeline Status, Canvas Preview is not showing the SVG image of the pipeline graph

    XMLWordPrintableJSON

Details

    Description

      In Pipeline Status, Canvas Preview is not showing the SVG image of the pipeline graph

      HTTP ERROR 500 java.lang.InternalError: java.lang.reflect.InvocationTargetException

      URI: /hop/pipelineImage/
      STATUS: 500
      MESSAGE: java.lang.InternalError: java.lang.reflect.InvocationTargetException
      SERVLET: org.apache.hop.www.GetPipelineImageServlet-346a2799
      CAUSED BY: java.lang.InternalError: java.lang.reflect.InvocationTargetException
      CAUSED BY: java.lang.reflect.InvocationTargetException
      CAUSED BY: java.lang.NullPointerException

      Caused by:

      java.lang.InternalError: java.lang.reflect.InvocationTargetException at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:86) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) at java.desktop/java.awt.Font.getFont2D(Font.java:497) at java.desktop/java.awt.Font.getFamily(Font.java:1410) at java.desktop/java.awt.Font.getFamily_NoClientCode(Font.java:1384) at java.desktop/java.awt.Font.getFamily(Font.java:1376) at org.apache.batik.svggen.SVGFont.familyToSVG(SVGFont.java:412) at org.apache.batik.svggen.SVGFont.toSVG(SVGFont.java:241) at org.apache.batik.svggen.SVGFont.toSVG(SVGFont.java:221) at org.apache.batik.svggen.SVGGraphicContextConverter.toSVG(SVGGraphicContextConverter.java:101) at org.apache.batik.svggen.DOMTreeManager.<init>(DOMTreeManager.java:144) at org.apache.batik.svggen.SVGGraphics2D.setGeneratorContext(SVGGraphics2D.java:363) at org.apache.batik.svggen.SVGGraphics2D.<init>(SVGGraphics2D.java:324) at org.apache.batik.svggen.SVGGraphics2D.<init>(SVGGraphics2D.java:262) at org.apache.hop.core.svg.HopSvgGraphics2D.<init>(HopSvgGraphics2D.java:49) at org.apache.hop.core.svg.HopSvgGraphics2D.newDocument(HopSvgGraphics2D.java:82) at org.apache.hop.pipeline.PipelineSvgPainter.generatePipelineSvg(PipelineSvgPainter.java:36) 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.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:540) at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:395) at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161) 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.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84) ... 56 more Caused by: java.lang.NullPointerException at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262) at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225) at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107) at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719) at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:377) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:322) at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35) at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56) ... 61 more

      Attachments

        1. image-2022-06-04-21-51-35-586.png
          15 kB
          David Jasan
        2. image-2022-06-04-21-51-05-215.png
          35 kB
          David Jasan
        3. image-2022-06-04-10-19-25-644.png
          11 kB
          David Jasan
        4. sysinfo_jira.hpl
          4 kB
          David Jasan

        Issue Links

          Activity

            People

              shl.xue Shl Xue
              david22 David Jasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 50m
                  50m