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 43656 - Is not possible work with web project after disable/enable web feature
Summary: Is not possible work with web project after disable/enable web feature
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-21 05:45 UTC by Petr Pisl
Modified: 2008-12-23 21:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exception (3.02 KB, text/plain)
2004-05-21 05:49 UTC, Petr Pisl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2004-05-21 05:45:19 UTC
Steps to reproduce:

1) Open or create a web project. 
2) Close the web project
3) Go to Tools -> Options -> IDE Configuration ->
System -> Web Feature and uncheck enable. 
4) Close the Options dialog.
5) Open the Options and enable Web Feature again. 
6) Go to Files -> Open Recent Project and choose
the last opened project

The project is open with attached exception. Then
you are not able to open a jsp page in the project.
Comment 1 Petr Pisl 2004-05-21 05:49:46 UTC
Created attachment 15048 [details]
The exception
Comment 2 Pavel Buzek 2004-07-22 00:41:39 UTC
It appears that the server registry is not properly re-initialized.
Working on it.
Comment 3 Pavel Buzek 2004-07-22 17:59:37 UTC
More details: After disabling and enbling the j2eeserver module there
are apparently 2 instances of ServerRegistry, the one being used by
Server Registry UI and the old one used by projects -- the second one
is not functioning properly.
Comment 4 Martin Grebac 2004-07-28 09:10:00 UTC
You can't disable/enable j2eeserver in current UI because it's an
autoload library. Is this still a P2 then?
Comment 5 Pavel Buzek 2004-08-05 22:35:03 UTC
You can still disable/enable all modules that use the j2eeserver, of
course. That's what I did when testing.
I am not sure how to disable the "Web Feature" - can you point me to
that UI?

I agree we have more important/serious bugs to fix. => P3

Still, it looks like a memory leak if the ServerRegistry stays loaded
after the module is disabled.
Comment 6 Pavel Buzek 2005-03-02 03:50:48 UTC
not an important use case
Comment 7 Pavel Buzek 2006-07-21 19:50:41 UTC
decrease to P4
Comment 8 Thuy.d Nguyen 2008-12-23 21:45:25 UTC
Tools -> Options -> IDE Configuration ->System -> Web Feature option no longer exist in NB 6.5 and later; therefore the
issue can not be reproduced.  Marking this as INVALID (in 6.5 and later).