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

Internal error caused by applying DropShadow effect to Rectangle object

    XMLWordPrintable

    Details

      Description

      Run the attached sample app to produce the following error:

      java.lang.InternalError: Unrecognized PixelFormat (BYTE_ALPHA)!
      at com.sun.prism.j2d.J2DTexture.<init>(J2DTexture.java:44)
      at com.sun.prism.j2d.J2DResourceFactory.createTexture(J2DResourceFactory.java:70)
      at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:109)
      at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:100)
      at com.sun.javafx.sg.prism.EffectUtil.renderRectDropShadow(EffectUtil.java:184)
      at com.sun.javafx.sg.prism.EffectUtil.renderEffectForRectangularNode(EffectUtil.java:60)
      at com.sun.javafx.sg.prism.NGRectangle.renderEffectDirectly(NGRectangle.java:61)
      at com.sun.javafx.sg.prism.NGRectangle.renderEffect(NGRectangle.java:43)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:101)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:34)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:180)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:291)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
      at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:138)
      at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:238)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
      at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
      at com.sun.prism.render.RenderJob.run(RenderJob.java:29)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              kmcintyrejfx Kyle McIntyre (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: