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 65424 - TopologicalSortException during drag&drop in <this layer in context>
Summary: TopologicalSortException during drag&drop in <this layer in context>
Status: VERIFIED DUPLICATE of bug 72541
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 20:04 UTC by pzajac
Modified: 2006-10-23 16:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (29.50 KB, text/plain)
2005-09-29 20:05 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-09-29 20:04:20 UTC
[200509281800]
Steps to reproduce:
1) Crate DataObject from File Type template. Actions for the loader are written
to layer xml. 
2) Explore Loader....|Actions in <this layer in context> layer view
3) Try move Copy action  after Delete

IDE was freezed for more than 10 seconds. Many TopologicalSortExceptions
(warnings) was thrown,
Comment 1 pzajac 2005-09-29 20:05:09 UTC
Created attachment 25329 [details]
exception
Comment 2 Jan Chalupa 2005-09-29 21:12:33 UTC
Also see issue #64704.
Comment 3 Jesse Glick 2005-09-30 01:19:44 UTC
Probably will not be touched for 5.0. Not easily solvable, I think. D&D-based
reordering works OK when it is just adding a pair of ordering constraints to a
newly added item (in your own layer). But when changing *existing* ordering
constraints it becomes difficult to behave correctly. I worked for a long time
on it already and was not able to make it always do the right thing. Might be
possible to fix 100% but only if the layer filesystem has knowledge of its
context, which might cause other unforeseen problems such as deadlocks (TBD).

Probably better to not waste time on it; when we switch to a better system like
Registry we can use numeric positioning techniques (e.g.) which are far easier
to work with.
Comment 4 Jesse Glick 2005-09-30 01:20:08 UTC
Please use the specific subcomponents when possible.
Comment 5 Jesse Glick 2006-02-14 18:07:48 UTC

*** This issue has been marked as a duplicate of 72541 ***
Comment 6 pzajac 2006-02-27 12:35:39 UTC
v