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 13730 - exception when disabling/enabling projects module
Summary: exception when disabling/enabling projects module
Status: CLOSED DUPLICATE of bug 11156
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 13752 (view as bug list)
Depends on: 12048
Blocks:
  Show dependency tree
 
Reported: 2001-07-19 11:08 UTC by Pavel Buzek
Modified: 2008-12-22 20:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (3.66 KB, text/plain)
2001-07-19 11:09 UTC, Pavel Buzek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2001-07-19 11:08:37 UTC
1. start ide, create a default project
2. disable projects module
3. enable it
4. right-click on project in explorer
Comment 1 Pavel Buzek 2001-07-19 11:09:40 UTC
Created attachment 1916 [details]
stack trace
Comment 2 Pavel Buzek 2001-07-19 15:11:20 UTC
taking this
Comment 3 Pavel Flaska 2001-07-24 10:41:06 UTC
I observed a little bit different behaviour - if I disable and 
immediatly enable projects module, all works fine for me. But if I 
disable it, then I try right-click on project in explorer, I got the 
same message as in attachement. Then there is problem to re-enable 
module again.
Comment 4 Pavel Buzek 2001-07-24 12:33:44 UTC
This is not a projects bug, similar thing happens with other data 
objects too (e.g. java). When a module is unistalled, DataObjects that 
were recognized by that module are recognized by another loader, but 
DataShadow still points to the old data object.
Comment 5 Pavel Buzek 2001-07-26 12:29:13 UTC
*** Issue 13752 has been marked as a duplicate of this issue. ***
Comment 6 Jaroslav Tulach 2001-07-30 10:55:35 UTC
The problem seems to be in DataShadow. It does not update itself when
its getOriginal is invalidated (isValid => false). I've changed to
code to listen to it (in my temporary directory), but that is still
not enough, because the FolderChildren will not update icon for the
DataShadow because it uses (primaryfile, loader)  as a key and it does
not change.

Maybe the best solution is to wait for FilterNode.setOriginal and
update just the node of the DataShadow.


Comment 7 Vitezslav Stejskal 2001-09-19 15:57:52 UTC
The behavior of DataShadow is same as in previous versions, this 
problem is surely annoying, but doesn't cause critical troubles (IDE 
is still usable, no data loss). Lowering priority to P2. If you seem 
it really critical, please increase prio again.
Comment 8 Vitezslav Stejskal 2001-09-21 13:10:13 UTC
Moving to data systems.
Comment 9 Vitezslav Stejskal 2001-10-10 17:30:59 UTC
As Yarda pointed out this problem is originally caused by poor 
implementation of DataShadow, thus marking as duplicate.
In fact, the problem related particulary to projects module was solved 
 in that module (see bunch of bugs #14291, #13536, #16086).

*** This issue has been marked as a duplicate of 11156 ***
Comment 10 Quality Engineering 2003-07-01 15:58:00 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 11 Quality Engineering 2003-07-01 16:32:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.