In the table there is column "Departments" where the value is chosen from choice box.
To reproduce the bug:
1. Double click two times on department cell in the first or in the second row.
You'll get:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:603)
at java.util.ArrayList.get(ArrayList.java:381)
at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:63)
at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:246)
at com.sun.javafx.scene.control.skin.ContextMenuContent.getMenuYOffset(ContextMenuContent.java:768)
at com.sun.javafx.scene.control.skin.ChoiceBoxSkin.handleControlPropertyChanged(ChoiceBoxSkin.java:236)
at javafx.scene.control.SkinBase$2.call(SkinBase.java:188)
To reproduce the bug:
1. Double click two times on department cell in the first or in the second row.
You'll get:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:603)
at java.util.ArrayList.get(ArrayList.java:381)
at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:63)
at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:246)
at com.sun.javafx.scene.control.skin.ContextMenuContent.getMenuYOffset(ContextMenuContent.java:768)
at com.sun.javafx.scene.control.skin.ChoiceBoxSkin.handleControlPropertyChanged(ChoiceBoxSkin.java:236)
at javafx.scene.control.SkinBase$2.call(SkinBase.java:188)