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.
NB 5.5 with VWP installed. I had created an enterprise app and opened the sun-application.xml When i closed the Ejnterprise App project, sun-application.xml remained open in editor space.
This does not break any functionality and it is very easy to find workaround for this => P3 (see also http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html)
this issue also applies to web, ejb, application client...
The problem is that lookup returns null for DataObject.class (see org.netbeans.modules.project.ui.ProjectUtilities.doClose(Project[] projects, boolean notifyUI, Wrapper wr)). Maybe using of associateLookup() could help but I don't know if it is correct solution.
This issue exists in 5.5 and 5.5.1. Closing as WONTFIX because that configuration editor replace by a Multiview editor in NB 6.0 (so this issue is inherently fixed in NB 6 as of now). It's still a real bug in 5.5.1 in case someone wanted to fixed it on that branch, and the fix is likely what is suggested (add the proper DataObject(s) to ConfigBeanTopComponent's lookup -- the TopComponent for the Sun Configuration Editor).