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

[Ensemble.jar] NPE with Gradle build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2
    • 8
    • 8
    • javafx
    • windows-i586

    Description

      Use JavaFX 8 Hudson build with Gradle

      How to reproduce:
      1) Download the sdk from http://jfx.us.oracle.com/hudson/job/8-gfx-gradle/471/label=windows-i586-30/artifact/artifacts/sdk/
      2) Unzip the file in some directory of your choosing; on windows you will likely need to "chmod 755 sdk/rt/bin/*.dll"
      3) Remove jdk8/jre/lib/ext/jfxrt.jar from the JDK 8 that you use to test.
      4) Go to cobundle/ga-sample dir
      4) Compile or run programs by appending PATH-TO-SDK/sdk/rt/lib/ext/jfxrt.jar to the bootclasspath

      $ "/cygdrive/c/Program Files/Java/jdk1.8.0/bin/java.exe" -Xbootclasspath/a:c:/sdk/rt/lib/ext/jfxrt.jar -jar Ensemble.jar

      Ensemble is launched with exception below:
      java.lang.NullPointerException
              at com.sun.pisces.PiscesRenderer.fillLCDAlphaMask(PiscesRenderer.java:334)
              at com.sun.prism.sw.SWGraphics.drawStringInternal(SWGraphics.java:776)
              at com.sun.prism.sw.SWGraphics.drawString(SWGraphics.java:732)
              at com.sun.javafx.sg.prism.NGText.renderText(NGText.java:319)
              at com.sun.javafx.sg.prism.NGText.renderContent(NGText.java:277)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:633)
              at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:527)
              at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:553)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:408)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:633)
              at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:527)
              at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:553)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:408)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1254)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:69)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1283)
              at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
              at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:210)
              at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
              at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
              at java.lang.Thread.run(Thread.java:724)

      Attachments

        Activity

          People

            lshikhva Ludmila Shikhvarg (Inactive)
            lshikhva Ludmila Shikhvarg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: