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.
Product Version: NetBeans IDE Dev (Build 200803311426) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) I tried to move the package from one package to another - NB just froze in the state displayed in the screenshot (I have XP with Vista look, don't get confused), I had to kill it from the task manager.
Created attachment 59558 [details] IDE screenshot
Created attachment 59559 [details] JStack: thread dump
The deadlock is between Request Processor and Event Dispatch thread. Request Processor is attempting to regenerate initComponents(). It checks whether this block was expanded (to be able to keep it expanded after regeneration). Unfortunately, the check must be performed in AWT => it uses invokeLaterAndWait () to obtain this information. Request Processor thread is keeping FormModel lock at that time. Unfortunately, there appeared some postponed (e.g. created via invokeLater()) update of the same form in AWT. This update is trying to lock the FormModel, but it is blocked.
The call to invokeLaterAndWait() was added because of issue 131068. I have removed it (which fixes this issue) and implemented a workaround for issue 131068. Modified file: http://hg.netbeans.org/main?cmd=changeset;node=c68af088d6cb
Verified: 20080411 (Not reproducible anymore.)
hasn't been integrated into branch release61 yet. It's serious issue but not enough as to be showstopper for RC2 because no data loss happens. All edited classes are saved before any action from refactoring is done. Different steps how to reproduce it on RC2 1. have new j2se project 2. create new form class in package with main class 3. insert some component and switch auto i18n on (on form class) 4. try to rename this package => deadlock appears and IDE must be killed manually
Steps to reproduce submitted by Janie work - I have to reopen this issue. Deadlock appears after you perform above mentioned steps.
> I have to reopen this issue. Deadlock appears after you perform above mentioned steps. Could you, please, explain why did you reopen this issue? What build did you use to reproduce it. The issue was closed because it was fixed in the development builds, not in release61 branch.
oh... sh** - you are right... I used RC2... sorry for disturbing you there, guys...
Verified
Merged into release61_fixes repository changeset: 77444:790a3dcb0d1c user: Jan Stola <jstola@netbeans.org> date: Thu Apr 03 13:02:55 2008 +0200 summary: 131841: Avoiding potential deadlock.
verified on Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
additional info .. v. on ide with patch1
*** Issue 134079 has been marked as a duplicate of this issue. ***