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 134862 - IDE Hangs randomly.
Summary: IDE Hangs randomly.
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@performance
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2008-05-12 14:19 UTC by brettryan
Modified: 2011-05-25 11:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brettryan 2008-05-12 14:19:37 UTC
I'm having many issues where the IDE will suddenly become unresponsive and require the process to be terminated.
Sometimes the process is consuming 100% of 1 CPU core while other times there is no usage consumption.

My latest experience has resulted in the IDE becoming unusable. When starting as soon as it tries to start indexing my
project, it gets to 3% then hangs.

I'm experiencing these issues within both Windows XP (amd x2) and Vista (intel core 2 duo)

I think for the meantime I will be going back to 6.0 as I never experienced these problems using it.
Comment 1 Jana Maleckova 2008-05-16 09:11:17 UTC
your description is very general. We need more info to track the problem down. Firstly please provide build number of
IDE, jdk version you use and in case that IDE gets stuck, catch the thread dump. Thanks, it really help
http://wiki.netbeans.org/GenerateThreadDump
Comment 2 mokopa 2008-06-01 12:08:06 UTC
I've been using NB 6.1 (stable) for about two weeks, mostly doing desktop stuff. Since starting on a JSP project, the
IDE sporadically and intermittently locks up, or hangs, on actions. I've never been able to reproduce the problem,
sometimes on doing something (anything, like expanding the project tree, autocomplete, etc.) the IDE would lock up,
other times these same actions don't cause problems.

It's been so bad that after multiple open-wait-kill process routines, I had to manually re-create the entire project,
reboot, and then start a new project with existing sources. After that, all will be well...for a while. Sometimes there
would be no problems whatsoever. Other times the IDE would lock up either on opening the project or sometime during
working on the project.

I've uninstalled and re-installed, it didn't solve the problem although it does seem to happen less. 

The IDE has (sometimes) locked up on the following events(all same project):
- On indexing project during startup
- On expanding project tree
- On code completion
- On pressing F6
- On save
- On selecting a tab in the code window
- On selecting a file from project tree in Projects window
- On placing cursor anywhere, or selecting text, in code window

When the lock up happens, I have to kill the process tree. When I restart the IDE, it may or may not work. If it
doesn't, I again kill the tree. Sometimes have to repeat this a number of times, and then I can work again.
Comment 3 Peter Pis 2008-06-02 12:08:36 UTC
To reporter: please provide a thread dump.
Comment 4 brettryan 2009-04-03 07:31:01 UTC
I think this issue can safely be closed, since using 6.5 I never experienced these issues, and with the current dev
builds I'm also not experiencing these issues.

I don't know what actually corrected this issue.

My apologies for not sending a thread dump long ago.