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

HelloEffects fails on Mac

    XMLWordPrintable

    Details

      Description

      Running the HelloWorld HelloEffects toy results in the following exception:

      java.lang.InternalError: Unsupported Buffer type: class java.nio.HeapFloatBuffer
      at com.sun.prism.es2.ES2Texture.getBufferElementSizeLog(ES2Texture.java:461)
      at com.sun.prism.es2.ES2Texture.uploadPixels(ES2Texture.java:444)
      at com.sun.prism.es2.ES2Texture.update(ES2Texture.java:572)
      at com.sun.prism.impl.BaseTexture.update(BaseTexture.java:109)
      at com.sun.prism.impl.BaseTexture.update(BaseTexture.java:101)
      at com.sun.prism.impl.BaseTexture.update(BaseTexture.java:97)
      at com.sun.prism.impl.BaseTexture.update(BaseTexture.java:93)
      at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.updateFloatTexture(PPSRenderer.java:173)
      at com.sun.scenario.effect.FloatMap.getAccelData(FloatMap.java:217)
      at com.sun.scenario.effect.impl.prism.ps.PPSTwoSamplerPeer.filterImpl(PPSTwoSamplerPeer.java:106)
      at com.sun.scenario.effect.impl.prism.ps.PPSEffectPeer.filter(PPSEffectPeer.java:52)
      at com.sun.scenario.effect.CoreEffect.filterImageDatas(CoreEffect.java:103)
      at com.sun.scenario.effect.DisplacementMap.filterImageDatas(DisplacementMap.java:334)
      at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:178)
      at com.sun.scenario.effect.impl.prism.PrEffectHelper.render(PrEffectHelper.java:156)
      at com.sun.javafx.sg.prism.NGNode$EffectFilter.render(NGNode.java:722)
      at com.sun.javafx.sg.prism.NGNode.renderEffect(NGNode.java:468)
      at com.sun.javafx.sg.prism.NGNode$CacheFilter.impl_createImageData(NGNode.java:663)
      at com.sun.javafx.sg.BaseCacheFilter.render(BaseCacheFilter.java:134)
      at com.sun.javafx.sg.prism.NGNode$CacheFilter.render(NGNode.java:634)
      at com.sun.javafx.sg.prism.NGNode.renderCached(NGNode.java:461)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:178)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:182)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:111)
      at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:181)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:73)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at com.sun.prism.render.RenderJob.run(RenderJob.java:37)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:97)
      at java.lang.Thread.run(Thread.java:680)

        Attachments

          Activity

            People

            Assignee:
            kprazdnikwse Kirill.Prazdnikov (Inactive)
            Reporter:
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: