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.
Product Version: NetBeans IDE Dev (Build 200811140201) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\Tomas\.netbeans\dev --------------- - Tools|Templates - created new folder on top level - selected that folder - invoked "add..", and added multiple times some files - it happens after a while that when a template is added, it's node does not appear. Some kind of random, but after a while playing with this can be reproduced.
TemplateFilter.acceptTemplate() sometimes returns false for newly created template -> no node is created by FolderChildren
It depends on DataObject.getPrimaryFile().getAttribute("simple"), it means that attribute wrongly return false. Any race condition problem?
It is reproducible only by context menu. The problem is that AddAction is called outside of the AWT thread and nodes can be refreshed before the template attribute of newly added template is set. 2fa1de1554a7
Integrated into 'main-golden', will be available in build *200812160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2fa1de1554a7 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #153218 - AddAction must be called from AWT thread.
unable to reproduce in 20081223 -> v