Removal of data communicator needs to happen before call to super.remove() since super.remove() sets parent to null causing the NPE. Fixes https://github.com/vaadin/framework/issues/11617tags/8.10.0.alpha1
@@ -256,10 +256,10 @@ public class GridDragSource<T> extends DragSourceExtension<Grid<T>> { | |||
@Override | |||
public void remove() { | |||
super.remove(); | |||
getParent().getDataCommunicator() | |||
.removeDataGenerator(dragDataGenerator); | |||
super.remove(); | |||
} | |||
@Override |