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.
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.
Created attachment 15048 [details] The exception
It appears that the server registry is not properly re-initialized. Working on it.
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.
You can't disable/enable j2eeserver in current UI because it's an autoload library. Is this still a P2 then?
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.
not an important use case
decrease to P4
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).