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 154162 - New Action wizard on Maven nbm project hangs for several minutes
Summary: New Action wizard on Maven nbm project hangs for several minutes
Status: RESOLVED DUPLICATE of bug 153608
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-30 04:05 UTC by argv
Modified: 2008-12-05 17:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jstack output while IDE is locked up (17.15 KB, text/plain)
2008-11-30 04:06 UTC, argv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description argv 2008-11-30 04:05:43 UTC
When trying to create a new Action in a NetBeans module project using Maven, the wizard's "GUI Registration" step locks
up the IDE for several minutes and uses lots of CPU during that time.

To reproduce:

1. Create a new NetBeans module project with Maven. Use the "Maven NetBeans Module Archetype"
(org.codehaus.mojo.archetypes:nbm-archetype:1.0.1).
2. Go to the File menu, then choose New File.
3. Choose the "Module Development" category, and the "Action" file type. Click Next.
4. Click Next again.
Comment 1 argv 2008-11-30 04:06:28 UTC
Created attachment 74307 [details]
jstack output while IDE is locked up
Comment 2 Milos Kleint 2008-11-30 07:36:17 UTC
reassigning to apisupport for evaluation, no maven code in stacktrace
Comment 3 argv 2008-11-30 08:17:57 UTC
Two things I forgot to mention:

Trying to do the same thing on a "normal" (non-Maven) NetBeans module project does not do any of this; it all works fine.

I did an strace on the EDT while NetBeans was locked up, and found that it seems to be opening and inspecting every JAR
file under the NetBeans install directory. Will attach the strace output momentarily.
Comment 4 argv 2008-11-30 08:26:41 UTC
strace output was too large (13 MB 7-Zip archive) to attach, so it's on my Web server at:

http://aoi.dyndns.org/~alex/special/netbeans-edt-syscalls.txt.7z
Comment 5 rmichalsky 2008-12-05 17:17:17 UTC

*** This issue has been marked as a duplicate of 153608 ***