This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29863 - [DnD] Informational AIOOBE and drop to bad position after DnD in Explorer
Summary: [DnD] Informational AIOOBE and drop to bad position after DnD in Explorer
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 11:35 UTC by Marian Mirilovic
Modified: 2008-12-22 20:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ArrayIndexOutOfBoundsException: -1 (2.04 KB, text/plain)
2003-01-08 11:36 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2003-01-08 11:35:12 UTC
[nb_dev](20030108), [jdk1.4.2](b 11)

Steps to reproduce:
- run IDE
- expand examples/colorpicker and imageviewer
folders
- try drag ColorPreview image node 
- drop it between ImageFrame and ImageViewer 
-> ColorPreview is dropped before ImageFrame and
informational IAOOBE arise (attachment)
Comment 1 Marian Mirilovic 2003-01-08 11:36:23 UTC
Created attachment 8470 [details]
ArrayIndexOutOfBoundsException: -1
Comment 2 Jiri Rechtacek 2003-01-08 15:30:56 UTC
fixed, added check fromIndex before move, the index could be -1 when a
drag not found in target folder
Comment 3 Marian Mirilovic 2003-01-15 10:43:31 UTC
verified in [nb_dev](20030115),
but first attempt to drop node isn't successful, node is dropped at 0
position