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

NullPointerException when Node is Rendering

XMLWordPrintable

    • x86
    • other

      FULL PRODUCT VERSION :
      jdk 8u66

      ADDITIONAL OS VERSION INFORMATION :
      Windows 10 Pro

      A DESCRIPTION OF THE PROBLEM :
      When i opened my JavaFX App, i am watching a infinitive errors printing in my console. My App has a total Render crash. I am attaching a video with that problem.

      https://www.youtube.com/watch?v=m-9AHwWm1co


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.NullPointerException
      at com.sun.javafx.sg.prism.NGText.renderText(NGText.java:297)
      at com.sun.javafx.sg.prism.NGText.renderContent2D(NGText.java:270)
      at com.sun.javafx.sg.prism.NGShape.renderContent(NGShape.java:261)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2294)
      at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2188)
      at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2214)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2047)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2294)
      at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2188)
      at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2214)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2047)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2294)
      at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2188)
      at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2214)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2047)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2294)
      at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2188)
      at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2214)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2047)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:477)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:330)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
      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:125)
      at java.lang.Thread.run(Thread.java:745)

      REPRODUCIBILITY :
      This bug can be reproduced rarely.

      SUPPORT :
      YES

            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: