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.
Summary: | Changes to connections are not detected for visualweb projects | ||
---|---|---|---|
Product: | javaee | Reporter: | John Baker <jbaker> |
Component: | Web Project | Assignee: | John Baker <jbaker> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 105212 |
Description
John Baker
2007-06-15 21:09:25 UTC
I have a possible fix for this to listen for project close events . When a project is closed, remove a connection listener. Add support to listen for a project change event. If the list of open projects shortens then I remove a connection listener belonging to the closed project. Checking in web/project/src/org/netbeans/modules/web/project/ui/WebLogicalViewProvider.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/WebLogicalViewProvider.java,v <-- WebLogicalViewProvider.java new revision: 1.8; previous revision: 1.7 Not fixed. Fixed Checking in web/project/src/org/netbeans/modules/web/project/ui/WebLogicalViewProvider.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/WebLogicalViewProvider.java,v <-- WebLogicalViewProvider.java new revision: 1.11; previous revision: 1.10 Also tested the fix by dumping the heap then using the NetBeans profiler to make sure the listener is removed after closing the project and running GC |