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: | FolderChildren.createNodes outside of EDT | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Data Systems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hideraldo.mello, jglick |
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | Other | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 199321, 199603, 212510 | ||
Bug Blocks: | 199308, 199648 |
Description
Jaroslav Tulach
2011-06-14 07:20:38 UTC
core-main#c90de9858e34 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c90de9858e34 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #199391: Documenting the change is not fully compatible. Printing a warning when somebody accesses DataObject in the node from AWT (not always a problem). Also meanwhile made much more compatible. I would suggest clarifying in the apichanges.xml entry and/or the stack trace "Ineffective..." that if you were merely looking for a DataObject.class in a Node's lookup and calling getPrimaryFile, which is pretty commonplace, all you need do is look for FileObject.class instead. See contrib #6494a399b320 for example. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/541c077e8ede User: Jesse Glick <jglick@netbeans.org> Log: Look for FileObject, not DataObject, in Node.lookup if possible. http://statistics.netbeans.org/exceptions/messageslog?id=535195 INFO [org.openide.loaders.FolderChildren...src.main.webapp]: Ineffective since #199391 was implemented java.lang.Exception: Find for ...\src\main\webapp\index.jsp@... at org.openide.loaders.FolderChildren$DelayedNode.convert(FolderChildren.java:451) at org.openide.loaders.FolderChildren$DelayedNode.convert(FolderChildren.java:399) at org.openide.util.lookup.InstanceContent$ConvertingItem.getInstance(InstanceContent.java:316) at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:421) at org.openide.nodes.FilterNode$FilterLookup.lookup(FilterNode.java:2114) at org.openide.nodes.FilterNode$FilterLookup.lookup(FilterNode.java:2114) at org.netbeans.modules.maven.j2ee.web.WebAppFilterNode$WebAppFilterChildren.createNodes(WebAppFilterNode.java:169) *** Bug 204934 has been marked as a duplicate of this bug. *** |