java.lang.NullPointerException

Stack Overflow | marketaxon | 2 months ago
  1. 0

    Canvas Rendering Degrades Proportionally With Size?

    Oracle Community | 3 years ago | Shindoh
    java.lang.NullPointerException
  2. 0

    How to get around the limited canvas size (bug)

    Oracle Community | 10 months ago | ee918144-bd34-400d-9048-264fff415ffb
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    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

    JDK Bug System | 7 months ago | Webbug Group
    java.lang.NullPointerException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate()
    2. com.sun.javafx
      PresentingPainter.run
      1. com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:213)
      2. com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:640)
      3. com.sun.javafx.sg.prism.NGCanvas.renderContent(NGCanvas.java:603)
      4. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      5. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      6. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      7. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      8. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      9. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      10. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      11. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      12. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      13. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      14. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      15. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      16. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      17. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      18. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      19. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      20. com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2294)
      21. com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2188)
      22. com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2214)
      23. com.sun.javafx.sg.prism.CacheFilter.impl_renderNodeToCache(CacheFilter.java:671)
      24. com.sun.javafx.sg.prism.CacheFilter.render(CacheFilter.java:575)
      25. com.sun.javafx.sg.prism.NGNode.renderCached(NGNode.java:2358)
      26. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2044)
      27. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      28. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      29. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      30. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      31. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      32. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      33. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      34. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      35. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      36. com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      37. com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      38. com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      39. com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      40. com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:477)
      41. com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:323)
      42. com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
      42 frames
    3. Java RT
      FutureTask.runAndReset
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      2 frames
    4. com.sun.javafx
      RenderJob.run
      1. com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      1 frame
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    6. com.sun.javafx
      QuantumRenderer$PipelineRunnable.run
      1. com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame