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

JavaFX TableView NullPointerException

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      1.8.0_102-b14

      ADDITIONAL OS VERSION INFORMATION :
      Micosoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      Occurs in a production GUI several times per day without any user interaction (no clicking of cells or moving of columns or scrolling of scrollbars), but unfortunately am not yet able to reproduce it or find the cause.

      Problem seems to be within a TreeTableView screen, and the exception is caught within an uncaught exception handler. The big problem is that new rows are not added to the table after the exception.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Unfortunately, not yet able to reproduce - steps to reproduce are unknown.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expecting the exception not to occur. And expecting the TreeTableView component to continue functioning.
      ACTUAL -
      Exception in log, table stops working (stops displaying new rows).

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      2017-06-27 11:06:50.346 [ERROR][JavaFX Application Thread][XXXApplication] Unhandled exception
      java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.CellSkinBase.access$200(CellSkinBase.java:54)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:149)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:138)
      at javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:447)
      at javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:180)
      at javafx.scene.Node.reapplyCss(Node.java:8985)
      at javafx.scene.Node.impl_reapplyCSS(Node.java:8948)
      at javafx.scene.control.Control$1.invalidated(Control.java:300)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
      at javafx.css.StyleableObjectProperty.set(StyleableObjectProperty.java:82)
      at javafx.scene.control.Control$1.set(Control.java:237)
      at javafx.scene.control.Control$1.set(Control.java:220)
      at javafx.scene.control.Control.setSkin(Control.java:217)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.recreateCells(TableRowSkinBase.java:673)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.updateCells(TableRowSkinBase.java:499)
      at com.sun.javafx.scene.control.skin.TreeTableRowSkin.updateCells(TreeTableRowSkin.java:220)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.checkState(TableRowSkinBase.java:631)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.layoutChildren(TableRowSkinBase.java:243)
      at com.sun.javafx.scene.control.skin.TreeTableRowSkin.layoutChildren(TreeTableRowSkin.java:206)
      at javafx.scene.control.Control.layoutChildren(Control.java:578)
      at javafx.scene.Parent.layout(Parent.java:1087)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Scene.doLayoutPass(Scene.java:552)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2397)
      at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
      at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      at java.lang.Thread.run(Unknown Source)
      2017-06-27 11:06:50.364 [ERROR][JavaFX Application Thread][XXXExceptionHandler] Handling exception
      java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.CellSkinBase.access$200(CellSkinBase.java:54)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:149)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:138)
      at javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:447)
      at javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:180)
      at javafx.scene.Node.reapplyCss(Node.java:8985)
      at javafx.scene.Node.impl_reapplyCSS(Node.java:8948)
      at javafx.scene.control.Control$1.invalidated(Control.java:300)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
      at javafx.css.StyleableObjectProperty.set(StyleableObjectProperty.java:82)
      at javafx.scene.control.Control$1.set(Control.java:237)
      at javafx.scene.control.Control$1.set(Control.java:220)
      at javafx.scene.control.Control.setSkin(Control.java:217)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.recreateCells(TableRowSkinBase.java:673)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.updateCells(TableRowSkinBase.java:499)
      at com.sun.javafx.scene.control.skin.TreeTableRowSkin.updateCells(TreeTableRowSkin.java:220)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.checkState(TableRowSkinBase.java:631)
      at com.sun.javafx.scene.control.skin.TableRowSkinBase.layoutChildren(TableRowSkinBase.java:243)
      at com.sun.javafx.scene.control.skin.TreeTableRowSkin.layoutChildren(TreeTableRowSkin.java:206)
      at javafx.scene.control.Control.layoutChildren(Control.java:578)
      at javafx.scene.Parent.layout(Parent.java:1087)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Parent.layout(Parent.java:1093)
      at javafx.scene.Scene.doLayoutPass(Scene.java:552)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2397)
      at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
      at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      at java.lang.Thread.run(Unknown Source)
      2017-06-27 11:06:50.365 [INFO][JavaFX Application Thread][ErrorPane] cache size is 1
      2017-06-27 11:06:50.365 [ERROR][JavaFX Application Thread][XXXApplication] Unhandled exception
      java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.CellSkinBase.access$200(CellSkinBase.java:54)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:149)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:138)
      at javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:447)
      at javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:180)
      at javafx.scene.Node.reapplyCss(Node.java:8985)
      at javafx.scene.Node.impl_processCSS(Node.java:9182)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1249)
      at javafx.scene.control.Control.impl_processCSS(Control.java:868)
      at javafx.scene.Node.processCSS(Node.java:9058)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Scene.doCSSPass(Scene.java:545)
      at javafx.scene.Scene.access$3600(Scene.java:159)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
      at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
      at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      at java.lang.Thread.run(Unknown Source)
      2017-06-27 11:06:50.365 [ERROR][JavaFX Application Thread][XXXExceptionHandler] Handling exception
      java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.CellSkinBase.access$200(CellSkinBase.java:54)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:149)
      at com.sun.javafx.scene.control.skin.CellSkinBase$StyleableProperties$1.getStyleableProperty(CellSkinBase.java:138)
      at javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:447)
      at javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:180)
      at javafx.scene.Node.reapplyCss(Node.java:8985)
      at javafx.scene.Node.impl_processCSS(Node.java:9182)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1249)
      at javafx.scene.control.Control.impl_processCSS(Control.java:868)
      at javafx.scene.Node.processCSS(Node.java:9058)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Node.processCSS(Node.java:9051)
      at javafx.scene.Scene.doCSSPass(Scene.java:545)
      at javafx.scene.Scene.access$3600(Scene.java:159)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
      at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
      at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      at java.lang.Thread.run(Unknown Source)

      REPRODUCIBILITY :
      This bug can be reproduced often.

      CUSTOMER SUBMITTED WORKAROUND :
      Restarting our JavaFX client

            pmangal Priyanka Mangal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: