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

NullPointerException in ProgressIndicatorSkin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx2.1
    • javafx
    • None

      Occasionally I get a NullPointerException in ProgressIndicatorSkin

      I am afraid I cannot constantly reproduce it. Its visibilityProperty is bound and it is set to true/false, when a thread is scheduled or succeeded/failed/canceled.
      I think it occurs, when the visibility is switched.

      maxWidth is set to Double.MAX_VALUE.


      Version 2.1 b08



      java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.ProgressIndicatorSkin.layoutChildren(Unknown Source)
      at javafx.scene.Parent.layout(Unknown Source)
      at javafx.scene.Parent.layout(Unknown Source)
      at javafx.scene.Parent.layout(Unknown Source)
      at javafx.scene.Parent.layout(Unknown Source)
      at javafx.scene.Parent.layout(Unknown Source)
      at javafx.scene.Parent.layout(Unknown Source)
      at javafx.scene.Scene.layoutDirtyRoots(Unknown Source)
      at javafx.scene.Scene.doLayoutPass(Unknown Source)
      at javafx.scene.Scene.access$3000(Unknown Source)
      at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
      at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
      at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(Unknown Source)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
      at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:722)

            miflemi Mick Fleming
            cschudtjfx Christian Schudt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: