Original report by João Caetano (Bitbucket: JPLC1989, GitHub: Unknown).
Hi My application is using JavaFX on the jdk1.8.0_65 I use the controller SpreedsheetView of the controlsfx library and sometimes when I tried do edit a row and change cell value this error occours:
#!java
Jan 13, 2016 11:54:17 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 16 was in edition and cell at row 0 and column 16 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:01 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 1 was in edition and cell at row 0 and column 1 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:02 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 1 was in edition and cell at row 0 and column 1 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:04 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 2 was in edition and cell at row 0 and column 2 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:04 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 3 was in edition and cell at row 0 and column 3 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:05 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 4 was in edition and cell at row 0 and column 4 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:05 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 4 was in edition and cell at row 0 and column 4 requested edition. This situation should not happen as the previous cell should not be in edition.
Jan 13, 2016 11:57:06 AM impl.org.controlsfx.spreadsheet.CellView getEditor
WARNING: The cell at row 0 and column 5 was in edition and cell at row 0 and column 5 requested edition. This situation should not happen as the previous cell should not be in edition.
11:57:07.291 [JavaFX Application Thread] ERROR presentation.Utils - presentation.controller.ScorecardController$1 - Error editing Scorecard.
java.lang.NullPointerException
at javafx.scene.control.TableColumn.lambda$new$32(TableColumn.java:281) ~[jfxrt.jar:?]
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) ~[jfxrt.jar:?]
at javafx.event.Event.fireEvent(Event.java:198) ~[jfxrt.jar:?]
at javafx.scene.control.TableCell.commitEdit(TableCell.java:349) ~[jfxrt.jar:?]
at impl.org.controlsfx.spreadsheet.CellView.commitEdit(CellView.java:173) ~[controlsfx-8.40.10.jar:8.40.10]
at impl.org.controlsfx.spreadsheet.GridCellEditor.endEdit(GridCellEditor.java:132) ~[controlsfx-8.40.10.jar:8.40.10]
at impl.org.controlsfx.spreadsheet.GridCellEditor$2.changed(GridCellEditor.java:259) ~[controlsfx-8.40.10.jar:8.40.10]
at impl.org.controlsfx.spreadsheet.GridCellEditor$2.changed(GridCellEditor.java:255) ~[controlsfx-8.40.10.jar:8.40.10]
at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361) ~[jfxrt.jar:?]
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81) ~[jfxrt.jar:?]
at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:72) ~[jfxrt.jar:?]
at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:7718) ~[jfxrt.jar:?]
at javafx.scene.Scene$13.invalidated(Scene.java:2077) ~[jfxrt.jar:?]
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111) ~[jfxrt.jar:?]
at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146) ~[jfxrt.jar:?]
at javafx.scene.Scene$KeyHandler.setFocusOwner(Scene.java:3924) ~[jfxrt.jar:?]
at javafx.scene.Scene$KeyHandler.requestFocus(Scene.java:3971) ~[jfxrt.jar:?]
at javafx.scene.Scene$KeyHandler.access$1900(Scene.java:3910) ~[jfxrt.jar:?]
at javafx.scene.Scene.requestFocus(Scene.java:2044) ~[jfxrt.jar:?]
at javafx.scene.Node.requestFocus(Node.java:7879) ~[jfxrt.jar:?]
at impl.org.controlsfx.spreadsheet.GridViewSkin.lambda$new$93(GridViewSkin.java:270) ~[controlsfx-8.40.10.jar:8.40.10]
at com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(CompositeEventHandler.java:282) ~[jfxrt.jar:?]
at com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(CompositeEventHandler.java:98) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:223) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180) ~[jfxrt.jar:?]
at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52) ~[jfxrt.jar:?]
at com.sun.javafx.scene.control.skin.VirtualFlow.lambda$new$85(VirtualFlow.java:513) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) ~[jfxrt.jar:?]
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) ~[jfxrt.jar:?]
at javafx.event.Event.fireEvent(Event.java:198) ~[jfxrt.jar:?]
at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) ~[jfxrt.jar:?]
at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) ~[jfxrt.jar:?]
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) ~[jfxrt.jar:?]
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) ~[jfxrt.jar:?]
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352) ~[jfxrt.jar:?]
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275) ~[jfxrt.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_65]
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$355(GlassViewEventHandler.java:388) ~[jfxrt.jar:?]
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) ~[jfxrt.jar:?]
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387) ~[jfxrt.jar:?]
at com.sun.glass.ui.View.handleMouseEvent(View.java:555) ~[jfxrt.jar:?]
at com.sun.glass.ui.View.notifyMouse(View.java:937) ~[jfxrt.jar:?]
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[jfxrt.jar:?]
at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191) ~[jfxrt.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
The application crashes and no changes can be done again on spreesheet view Thanks in advance
该提问来源于开源项目:controlsfx/controlsfx