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: | UI hangs permanently on pressing enter in new Window Component wizard | ||
---|---|---|---|
Product: | xml | Reporter: | _ tboudreau <tboudreau> |
Component: | Code | Assignee: | Marek Fukala <mfukala> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | cwebster, mfukala, pjiricka, ppisl, pzajac |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread dump |
Description
_ tboudreau
2006-09-23 10:17:43 UTC
Created attachment 34410 [details]
Thread dump
Deadlock between loaders and javacore. Yarda, can you evaluate it? The easiest and most save fix for relese55 would be to modify the XMLDataObject to not call to lookup in its constructor. Is that possible? org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:188) org.netbeans.modules.xml.core.text.TextEditorSupport.findEditorSuppor tFactory(TextEditorSupport.java:640) org.netbeans.modules.xml.core.XMLDataObject.<init>(XMLDataObject.java :85) AFAIK it is there because of it is possible to have a special XML editor implementation instead of the default one. One can register an instance of EditorSupportFactoryCreater class into the lookup which provides own instance of TextEditorSupportFactory. OTOH it is an ancient code and I am not aware of any usage of that. So I think I can remove the code at all. The TextEditorSupport.EditorSupportFactoryCreater class is not in a public package, but I am not sure whether enterprise pack, creator or other packs don't use an implementation dependency on the xml/core module to provide their own editors so it might possible affect them. I'll do the removal of the code and send a request for a review to reviewers@netbeans.org so anyone can object if uses the code. fixed in release55_dev Checking in TextEditorSupport.java; /cvs/xml/core/src/org/netbeans/modules/xml/core/text/TextEditorSupport.java,v <-- TextEditorSupport.java new revision: 1.26.2.1.2.1.16.1; previous revision: 1.26.2.1.2.1 done verified in release55_dev build The fix is ok for me. It delete functionality, which is not used. Mark issue as FIXED. Please, merge fix in release55 branch as well. fixed in release55 branch Checking in TextEditorSupport.java; /cvs/xml/core/src/org/netbeans/modules/xml/core/text/TextEditorSupport.java,v <-- TextEditorSupport.java new revision: 1.26.2.1.2.2; previous revision: 1.26.2.1.2.1 done verified in release55 |