Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 50022

Summary: [DND] NPE in DelegatingDragAdapter
Product: [Eclipse Project] Platform Reporter: Whitney Sorenson <sorensm>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: david_williams, hudsonr, leom, thatnitind
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Whitney Sorenson CLA 2004-01-14 15:36:40 EST
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.
Comment 1 Michael Van Meekeren CLA 2004-01-22 11:12:18 EST
we have made some changes here Stefan can you verify that this is working 
after your changes?
Comment 2 Randy Hudson CLA 2004-02-20 09:42:09 EST
*** Bug 52576 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Xenos CLA 2004-02-23 19:05:31 EST
Fixed in head.
Comment 4 Randy Hudson CLA 2004-04-05 11:21:36 EDT
*** Bug 57427 has been marked as a duplicate of this bug. ***