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.
Created attachment 98778 [details] Thread dumps I invoked the Insert Code... action in a Maven web project. After this, the UI was stuck for a long time (minutes) - after that it became responsive again. The "scanning" progress bar was on for all the time. I am attaching a few thread dumps taken during the time when the IDE was unresponsive.
Evaluation: This bug seems to depend on specific Maven projects which are opened, I never saw such behavior. From stack traces, it seems that it is again MavenFileOwnerQueryImpl and NbMavenProject.getPackagingType which is taking machine resources. Lowering to P3 as IMHO described behavior can be seen only after opening some huge Maven projects, it's not happening during regular work, at least for me. Set of steps with reproducible scenario would help as well.
Fixed in 6.10 by rewrite of MavenFileOwnerQueryImpl. Should you see Insert Code hanging for a long time in daily builds, please file a new bug.