Project: Eclipse_Platform_UI
Bug 50022 [DND] NPE in DelegatingDragAdapter
Reported: 2004-01-14 15:36:40 | Status: resolved fixed

DelegatingDragAdapater defines a list "activeListeners" but initializes it only in DragStart. However, the list is referenced in removeDragSourceListener without a null check, thus causing a null pointer exception if no dragStart ever occured.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/util/DelegatingDragAdapter.java