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.
[200110090100] See stack trace. Exception was thrown, when createFromTemplate() was called. DataObject dob = getDO ("Templates.Classes", "Class", "java"); DataObject mdob = dob.createFromTemplate(DataFolder.findFolder(getFO (packageName,null,null)),className); getDO means get DataObject getFO means get FileObject
Created attachment 2923 [details] Stack Trace
I'll assume this is not reproducible. The fix to #14179 was supposed to have fixed this kind of problem. It is still possible that if you are very unlucky, you hit a race condition where the object is invalidated right before it is used. There is no way to really fix such things without a loaders mutex (maybe in 4.0, not before). If you find this is reproducible, or even that it happens more than once and is not so rare, please reopen. Vito, we should consider taking out the invalid check from getNodeDelegate soon, I have a feeling that even with many fixes having been made, the check will cause more damage than the root problem.
Agreed, I see no one reporting such problems in last days, I beleive we already fixed most of cases.
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.