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.

Bug 185925 - UI is frozen for a long time after Insert Code action
Summary: UI is frozen for a long time after Insert Code action
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: PERFORMANCE, RANDOM
Depends on:
Blocks:
 
Reported: 2010-05-11 14:39 UTC by Petr Jiricka
Modified: 2010-09-15 20:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dumps (59.64 KB, text/plain)
2010-05-11 14:39 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-05-11 14:39:16 UTC
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.
Comment 1 David Simonek 2010-05-14 14:50:22 UTC
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.
Comment 2 Antonin Nebuzelsky 2010-09-15 20:49:49 UTC
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.