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.
Hi, The new Netbeans v6.5 introduced a very strange bug. The ide freezes from time to time for about 10-30 sec. Sometimes it freezes while parsing the code, sometimes while clicking in the menu but most of the time when I make a change in the currently opened java file. I use jdk1.6.0_u10. The same happens in another PC of mine. Hardware details: First PC Intel Core 2 @ 1.8 GHz with 4GB ram, win xp pro sp2 Second PC AMD Athlon64 X2 4800+ with 2GB ram, win xp pro sp2 The task manager shows no activity when the ide freezes and the hard disk is idle also. I have been a long time user of Netbeans, since v3.4 and would hate to revert back to v6.1 Please let me now how I can help you with this issue. Greg--
Thanks for the report. Could you please attach thread dump while running into this? http://wiki.netbeans.org/GenerateThreadDump
Created attachment 74287 [details] freeze #1, first dump
Created attachment 74288 [details] freeze #1, second dump
I am attaching 2 dumps from a single freeze. The "second" dump was taken 15 seconds after the "first".
Reassigning to editor for further evaluation.
Maybe useful. It seems the ide almost always freezes whenever it checks to see if some var is declared or if my code is valid. Is there some way to disable syntax checking altogether, until compile time? Please let me know so I can investigate further.
Created attachment 74757 [details] dump during netbeans loading
Today I discovered another "side effect" of this issue. It happened when I copied-pasted a large piece of code that was wrong (needed includes and variable renames mostly). I was browsing the code and hitting Alt+Shift+I to include the headers. When I finished (it took some time because of the freezes), I found out that most imports were corrupted. For example: instead of "import javax.swing.table.DefaultTableModel;" I got something like "import javax.swing.table.DefaultTabDefaultTableModel;", or instead of "import javax.swing.JFrame;" I got "imimport javax.swing.JFrame;"
I can not reproduce this issue. Is the project you are working on public? How big it is? Are there some other conditions (like Tasklist View opened...). Can you describe some exact how to reproduce steps?
This issue occurred on every project we have (commercial applications). Nothing special about them or the IDE configuration. The only common ground was the lots of errors that were reported by the editor from e.g. a new method that was pasted from another file and needed some editing to make it right. Recently, after I installed the latest updates for the IDE, it seems that the problem is no more. Though I still have to double check it to be sure. Maybe this was related with another editor's issue that got fixed. If you could point me to the complete changelog for the editor since the initial launch of NB 6.5, perhaps I could help...
We do non have any special list of all changes, as far as I know. But you can use mercurial "hg log". But there are so many changes since 6.5... Anyway, good information is that its not reproducible on trunk. Thats great. Feel free to update this issue if you will be able to reproduce it on trunk, please.
Hi, I think it is safe to say you can close this issue. It seems that I cannot reproduce it anymore. Keep up the good work. Regards Greg--
Thanks a lot for the effort you spent with this issue. I am closing it - as you write it works now. If the problem appears again, feel free to reopen.