Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095973

WebLauncher toy fails on MacOS

XMLWordPrintable

      Running the WebLauncher toy from rt-closed gets an error trying to create a shader:

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.prism.es2.ES2ResourceFactory.createStockShader(ES2ResourceFactory.java:258)
      at com.sun.prism.impl.ps.BaseShaderContext.getPaintShader(BaseShaderContext.java:227)
      at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:487)
      at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:359)
      at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedPgram(BaseShaderGraphics.java:906)
      at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedRect(BaseShaderGraphics.java:607)
      at com.sun.prism.impl.ps.BaseShaderGraphics.fillRect(BaseShaderGraphics.java:1509)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$6.doPaint(WCGraphicsPrismContext.java:660)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1302)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1287)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext.drawPattern(WCGraphicsPrismContext.java:663)
      at com.sun.webkit.graphics.GraphicsDecoder.drawPattern(GraphicsDecoder.java:382)
      at com.sun.webkit.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:185)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:69)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:80)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:86)
      at com.sun.webkit.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:322)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:69)
      at com.sun.webkit.WebPage.paint2GC(WebPage.java:669)
      at com.sun.webkit.WebPage.paint(WebPage.java:637)
      at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:73)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2043)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1951)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:225)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:575)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2043)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1951)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:469)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:317)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:89)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.RuntimeException: Error creating shader program
      at com.sun.prism.es2.ES2Shader.createFromSource(ES2Shader.java:158)
      at com.sun.prism.es2.ES2Shader.createFromSource(ES2Shader.java:173)
      at com.sun.prism.es2.ES2ResourceFactory.createShader(ES2ResourceFactory.java:173)
      at com.sun.prism.shader.FillPgram_ImagePattern_Loader.loadShader(FillPgram_ImagePattern_Loader.java:52)
      ... 41 more
      java.lang.InternalError: Error loading stock shader FillPgram_ImagePattern
      at com.sun.prism.es2.ES2ResourceFactory.createStockShader(ES2ResourceFactory.java:261)
      at com.sun.prism.impl.ps.BaseShaderContext.getPaintShader(BaseShaderContext.java:227)
      at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:487)
      at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:359)
      at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedPgram(BaseShaderGraphics.java:906)
      at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedRect(BaseShaderGraphics.java:607)
      at com.sun.prism.impl.ps.BaseShaderGraphics.fillRect(BaseShaderGraphics.java:1509)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$6.doPaint(WCGraphicsPrismContext.java:660)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1302)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1287)
      at com.sun.javafx.webkit.prism.WCGraphicsPrismContext.drawPattern(WCGraphicsPrismContext.java:663)
      at com.sun.webkit.graphics.GraphicsDecoder.drawPattern(GraphicsDecoder.java:382)
      at com.sun.webkit.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:185)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:69)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:80)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:86)
      at com.sun.webkit.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:322)
      at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:69)
      at com.sun.webkit.WebPage.paint2GC(WebPage.java:669)
      at com.sun.webkit.WebPage.paint(WebPage.java:637)
      at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:73)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2043)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1951)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:225)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:575)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2043)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1951)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:469)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:317)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:89)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
      at java.lang.Thread.run(Thread.java:744)

            flar Jim Graham
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: