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 168191 - IDE really slow when creating an new action for any module
Summary: IDE really slow when creating an new action for any module
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 19:44 UTC by Michel Graciano
Modified: 2009-10-26 12:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (239.62 KB, text/plain)
2009-07-06 19:45 UTC, Michel Graciano
Details
A new log file. (128.44 KB, text/plain)
2009-07-07 14:01 UTC, Michel Graciano
Details
Profile snapshot (145.65 KB, application/octet-stream)
2009-07-07 16:53 UTC, Michel Graciano
Details
Updated mesages.log, the same when creating the profiler snapshot (171.39 KB, text/plain)
2009-07-07 16:58 UTC, Michel Graciano
Details
junit (590.38 KB, application/octet-stream)
2009-07-08 11:38 UTC, Michel Graciano
Details
core (613.62 KB, application/octet-stream)
2009-07-08 11:39 UTC, Michel Graciano
Details
filesystems (5.65 KB, application/octet-stream)
2009-07-08 11:39 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2009-07-06 19:44:42 UTC
[ BUILD # : 200906241340 ]
[ JDK VERSION : 1.6.* ]

1. Create an new module project
2. Start action wizard, select conditional enabled;
3. When click next nothing happens

I will attach the messages.log.
Comment 1 Michel Graciano 2009-07-06 19:45:36 UTC
Created attachment 84411 [details]
log file
Comment 2 Jesse Glick 2009-07-06 19:59:22 UTC
According to your log file, your NetBeans installation is corrupted; try reinstalling.
Comment 3 Michel Graciano 2009-07-07 13:53:52 UTC
So, I reinstall the IDE and start it with an fresh user dir and several exceptions are thrown as you can see at the new
messages.log file. Now, I can create the action but the wizard toke several minutes do finish. What kind of additional
info do you need?
Comment 4 Michel Graciano 2009-07-07 14:01:07 UTC
Created attachment 84441 [details]
A new log file.
Comment 5 Michel Graciano 2009-07-07 14:45:55 UTC
As additional info, I installed netbeans-6.7-ml-java-linux pack.
Comment 6 rmichalsky 2009-07-07 14:50:13 UTC
Please attach profiler snapshot of the action wizard (see http://wiki.netbeans.org/FaqProfileMeNow). And just to make
sure: did you reinstall NB under /home/hmichel/netbeans-6.7? It is unusual to have so many corrupted jars in fresh
installation.
Comment 7 Michel Graciano 2009-07-07 15:17:02 UTC
Yes, it is an fresh install just to test this issue and I can open these jars at ark and if you wish I can't extract it
using jar tool too. I can send you all these files if you need too.
Comment 8 rmichalsky 2009-07-07 15:33:01 UTC
"at ark" - what does it mean? 
"I can't extract it using jar tool" - You cannot extract them? So this issue is about action wizard being slow on
corrupted platform? Will probably end up invalid or wontfix then...
Comment 9 rmichalsky 2009-07-07 15:33:35 UTC
Otherwise I'd need the profiler snapshot as described above.
Comment 10 Michel Graciano 2009-07-07 16:40:55 UTC
Sorry for my english. :(
> "at ark" - what does it mean? 
ark is zip tool for ubuntu. The jar doesn't look corrupted for me since I can open it.

> "I can't extract it using jar tool" - You cannot extract them? So this issue is about action wizard being slow on
> corrupted platform? Will probably end up invalid or wontfix then...
It was an typo. I just tested jar tool and the file was corrected extracted.

I will attach the profiler asap. Thanks in advance
Comment 11 Michel Graciano 2009-07-07 16:53:20 UTC
Created attachment 84456 [details]
Profile snapshot
Comment 12 Michel Graciano 2009-07-07 16:58:25 UTC
Created attachment 84457 [details]
Updated mesages.log, the same when creating the profiler snapshot
Comment 13 rmichalsky 2009-07-08 10:00:36 UTC
Could you also attach files:
/home/hmichel/netbeans-6.7-168191/java2/modules/org-netbeans-modules-junit.jar	
/home/hmichel/netbeans-6.7-168191/platform10/core/core.jar
/home/hmichel/netbeans-6.7-168191/platform10/core/locale/org-openide-filesystems_ja.jar
if they keep showing up in messages.log?

Sorry for more requests, but this is rather strange behavior.
Comment 14 Michel Graciano 2009-07-08 11:38:19 UTC
Created attachment 84486 [details]
junit
Comment 15 Michel Graciano 2009-07-08 11:39:04 UTC
Created attachment 84487 [details]
core
Comment 16 Michel Graciano 2009-07-08 11:39:30 UTC
Created attachment 84488 [details]
filesystems
Comment 17 Michel Graciano 2009-07-08 11:42:17 UTC
Files attached and don't worry about the request. I agree it is really strange behaviour. Just let me know if you need
any other info or resource.

Regards
Comment 18 digipixel 2009-10-12 22:55:38 UTC
Have exactly the same issue but with one minor difference. Action Enabled is selected instead of Conditionally Enabled
in the Action wizard. Upon going to the third step in the wizard close to 100% of the CPU is used, either after clicking
on the Next button or once the third step of the wizard is reached.

I have noticed that if NetBeans (NB) is terminated while trying to go to the third step in the Action wizard some user
settings are lost (NB partially corrupts the user directory?), eg any remembered open projects are no longer displayed
the next time the IDE starts up, and a dialog pops up about participating in collecting user metrics for NB even though
I already selected no when it first popped up.
Comment 19 Michel Graciano 2009-10-14 16:33:18 UTC
Well, I just can't reproduce it anymore for 200910140201. How could it be closed?
Comment 20 rmichalsky 2009-10-15 07:33:21 UTC
> Well, I just can't reproduce it anymore for 200910140201. How could it be closed?

Ok, thanks for info, I'll try to reproduce behavior described in previous comment (losing user settings) and resolve or
close this issue.
Comment 21 rmichalsky 2009-10-26 12:02:33 UTC
> I have noticed that if NetBeans (NB) is terminated while trying to go to the third step in the Action wizard some user
> settings are lost (NB partially corrupts the user directory?), eg any remembered open projects are no longer displayed

Cannot reproduce, I've killed NB several times while it was waiting for New Action Wizard to populate, but everything
works for me. I guess the thing you describe can happen, there is no transaction support or the like when writing to
userdir, but definitely not happening very often. Feel free to reopen if you find reproducible test case.