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.
Build 200408251800 1) Start IDE with new userdir 2) Create WebModule 3) Close WebModule 4) Delete WebModule's directory on disk 5) Switch back to IDE 6) Wait a moment (less than 10 seconds) 7) ERROR: Scanning dialog appears (not fully visible) immediately followed by EXCEPTION -- see attached IDE log (scanning dialog disappears almost immediately). The begin of exception: Annotation: Failed to lookup configuration for Tomcat5 in org.netbeans.modules.web.project.ProjectWebModule@e17436 java.lang.IllegalStateException: New J2eeProviderImplementation needs to override this method! Notice: it doesn't break functionality, but it appears also if you do some work between closing project and it's deleting -- in that case you are not sure why this exception appears and what impact will it have on your work.
Created attachment 17163 [details] IDE log with several exceptions
From the stack its seems that after project closing ProjectWebModule object is still around listening to disk file change event through FileChangeSupport and ProjectProperties. I am not sure this is just left-over or intentional as required by project system. Adding Jesse G for opinion.
Projects are not destroyed when they are "closed"; just removed from the list shown in the GUI. They are eligible for collection.
Pavel, I think this symptom is caused by project objects still listening on project file change event through project util. Would your work on memory leak also fix this issue?
Karle, can you check this again? I did what you describe and I only see exceptions in log but no exception message is displayed to the user. If this is correct I am downgrading to P5. In any case the exception is harmless. When I am testing now I do not see the DDDataObject involved, only the project support classes listen to file changes and fire events on objects that are not GCed yet.
cannot reproduce, marking as fixed (abadea did more fixes for closed projects recently..)
Verified.