Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336714 - ArrayIndexOutOfBoundsException on Drag&Drop
Summary: ArrayIndexOutOfBoundsException on Drag&Drop
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Laurent CARON CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 08:58 EST by mve CLA
Modified: 2021-07-05 11:40 EDT (History)
2 users (show)

See Also:


Attachments
Stack of the error (28.10 KB, image/png)
2011-02-09 08:58 EST, mve CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mve CLA 2011-02-09 08:58:47 EST
Created attachment 188588 [details]
Stack of the error

When you display a Gallery, if you start a D&D from one or several items it works, but if you start it from a blank part an ArrayIndexOutOfBoundsException is thrown. A simple correction seems to work :

Class org.eclipse.nebula.widgets.gallery.GalleryDragSourceEffect
Method dragStart()

[...]
if (selection != null && selection.length > 0) {
[...]
Comment 1 mve CLA 2011-02-09 09:05:45 EST
The bug occured on Windows XP with v0.5.2 .
Comment 2 Laurent CARON CLA 2019-09-14 09:41:03 EDT
Bug fixed for release V2.3.0