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.
This is a very recent regression seen in S1S. Testing using S1S build 030319 on windows, JDK 1.4.1 Steps to reproduce: 1. Install S1S 2. Delete any existing user dir. 3. Start IDE 4. Mount a few jars 5. Mount a directory 6. Mount another directory with a sub folder 7. Select the folder 8. Context menu New, All Templates... 9. Select template J2EE/EJB module 10. In wizard Next, Finish You see the folder will not be automatically expanded as it should be. Expanding the folder shows the module was created correctly. If you do this a second time the folder is expanded. This bug is P2 because automated tests rely on correct behavior and are not easily updated. Also users will be confused by the unexpected behavior.
It's reproducible in Mar21 dev build. It seems necessary for reproduction: 1. first start (clean userdir) 2. mount new local filesystem 3. select a subfolder 4. select some template of object which won't open in editor (i.e. Web Module Group) Note: it's seen only on first use this template. I'll investigate more. Because of it doesn't block IDE usability nor persist with multiple use, it doesn't seem as showstopper for me, will be solved in 4.0
I still cannot reproduce it.
Investigated: there is a timing problem in processing NbMainExplorer.operationCreateFromTemplate(). If a folder contain many unrecognized files, a finding returns null ==> no node is selected. I don't think is a regression, because its code is stable for long time.
Steve, I reverting my task words. It's a regression even in stable code :-) Description: NbMainExplorer listens on data object operation, posts a task on each one event. If a previous task is waiting still, then it's canceled. Why is appears just now? Because, the Recent list was added to NewTemplateAction, there is created a shadow (2nd operation event, which cancels 1st event, create object from template). Why random? Because event's processing is depended on count objects in folder. Fix: the events on hidden are ignored, because it totally useless selected nodes on hidden filesystem. Steve, BIG thanks for rapidly issue detection. I'm going to fix in main trunk and in release35 also.
fixed in maintrunk, will be fixed in release35
fix merged to release35 branch.
The right test template is Webmodule Group. verified in [nb3.5](200304022350)