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 19006 - Disabing all modules and enabling again irrepairably corrupts the IDE installation.
Summary: Disabing all modules and enabling again irrepairably corrupts the IDE instal...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-03 16:03 UTC by iformanek
Modified: 2008-12-23 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
System log (311.03 KB, text/plain)
2002-01-03 16:04 UTC, iformanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2002-01-03 16:03:33 UTC
There is only Editiang and Running workspaces, exceptions are thrown at 
startup. See attachment for the system log.
Comment 1 iformanek 2002-01-03 16:04:08 UTC
Created attachment 3967 [details]
System log
Comment 2 _ ttran 2002-01-03 17:52:42 UTC
Interesting modules are form, debugger and projects.  Disabling
projects causes settings to be saved in the top-level "system" subdir.
 Disabling form module means the Visual workspace is gone.  For some
reason when the IDE is shut down, Visual_hidden file is created in
userdir/system/Windows.  That's the problem.

Passing to winsys for further investigation
Comment 3 David Simonek 2002-01-04 15:41:07 UTC
accepting, but P1? disabling and reenabling of projects module was
always considered as very uncommon user action, bugs tied to such
behaviour was usually P3s.
?
Comment 4 iformanek 2002-01-04 15:53:37 UTC
I have 2 reasons for marking it as P1:
- NetBeans is a platform, and however uncommon certain functionality 
is, it needs to work
- it is a irrocoverable data loss. I suspect that even reinstalling 
might not help if you do not delete the userdir

One one more extra, which you mentioned in your previous comment - 
yes, we do know that it is flaky, so it is even more important to 
start doing something with it.
Comment 5 David Simonek 2002-01-04 16:28:41 UTC
ok, this discussion leads to nowhere, we can counterargument nearly
infinitely. just keep in mind that this effectively prevents me from
fixing user centered bugs to 3.3.1
Comment 6 David Simonek 2002-01-04 16:43:38 UTC
yes and last thing..quoting "it is even more important to start doing
something with it"
Yes, we (winsys developers) alrady started to address similar problems
say half of year ago, we didn't ignore it.

Comment 7 mslama 2002-01-09 10:29:49 UTC
I take this.
Comment 8 mslama 2002-01-09 10:36:54 UTC
Fixed in WindowManagerData and WorkspaceData. When window system is
saved cleaning is performed. Unused files are deleted but only data
files can be deleted not folders. 

If also folders are deleted and given folder still contains file from
other layer (eg. Debugging folder contains Form mode defined in module
layer of Form Editor and Debugger module is disabled Debugging folder
was deleted when IDE exits, Debugging_hidden file was created on local
file system. Even if Debugger module is enabled again but due to
presence of hidden file on local file system Debugging folder stays
invisible to window system => Debugging workspace is not created.

Fixed in release33 branch.

Comment 9 Lukas Hasik 2002-01-10 16:41:06 UTC
verified in [200201100331]


Comment 10 Quality Engineering 2003-07-01 16:42:15 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.