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 20080819023551) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb) Deadlock occurs when opening properties file. AWT is blocked in openide module, so reporting it here at first, feel free to reassign
Created attachment 67797 [details] thead dump
It might be connected with typo fixed in changeset below (blickActionMap replaced by blinkActionMap). Try build 3455 where this changeset is integrated. http://hg.netbeans.org/main?cmd=changeset;node=bd367e1938dc
I got the same deadlock on same build but on Mac. I'll attach my thread dump.
Created attachment 67810 [details] thread dump
I've installed the newer build and it works fine now.
The first deadlock is a duplicate of bug #144412. The second deadlock has the same cause and, again, no code from the .properties module is involved. I think it is a bug in CloneableEditor. The fact that it did not happen on the second attempt does not mean the bug is fixed - so I reopen it and reassigned to "openide/editor" for further evaluation.
I believe this threading issue is also causing bug #144412.
No. It is bug in mobility: They touch swing component from non AWT thread. See thread "Document Processing".
I am not able to find out what subcomponent is it. org.netbeans.modules.mobility.editor.J2MEKit.createMenu is included.
More issue like this. It might be caused by recent Jarda changes in GlobalActionContextImpl.
*** Issue 144395 has been marked as a duplicate of this issue. ***
Freeze again in todays build.NetBeans IDE Dev (Build 200808200201). Thread dump attached. My steps: Create new JForm > Finish > Dialog was closed but ide without any response. This steps are not steps to reproduce!
Created attachment 67925 [details] thread dump
changeset: 96951:a1e1e01f8c51 tag: tip user: Jaroslav Tulach <jtulach@netbeans.org> date: Wed Aug 20 13:14:04 2008 +0200 summary: #144383: blinkActionMap can be performed only in AWT thread
*** Issue 144335 has been marked as a duplicate of this issue. ***
*** Issue 144471 has been marked as a duplicate of this issue. ***
Is it blick or blink? The latest version of file contains blick.
*** Issue 144412 has been marked as a duplicate of this issue. ***
*** Issue 144599 has been marked as a duplicate of this issue. ***
Now opening a document (using CLI --open) deadlocks the IDE. I will attach the new thread dump. GlobalActionContextImpl is waiting on itself but does not get notified. Ironically, the document I was trying to open was GlobalActionContextImpl.java! In #bd367e1938dc, I fixed the typo in the method name ("blick" -> "blink"). jtulach in merge #483599022fd6 reverted my fix, I guess by "resolving" the merge conflict by throwing out my change.
Created attachment 67958 [details] Thread dump using Yarda's latest fix
Deadlock seems to be reproducible.
BTW it can be "cured" without data loss by 1. download http://blogs.sun.com/roller/resources/jglick/jrunscriptin.jar 2. java -jar jrunscriptin.jar netbeans 3. Enter ts = java.lang.reflect.Array.newInstance(java.lang.Thread, 100) java.lang.Thread.enumerate(ts) // find Thread[AWT-EventQueue-1,...,IDE Main], say it is in position #16 ts[16].stop()
changeset: 97071:d108ae6d6b27 tag: tip user: Jaroslav Tulach <jtulach@netbeans.org> date: Wed Aug 20 17:29:44 2008 +0200 summary: #144383: Basically reverting to 4883eaeda744, plus ensuring that the change is always notified from AWT thread.
Integrated into 'main-golden', available in build *200808210201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/a1e1e01f8c51 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #144383: blinkActionMap can be performed only in AWT thread
It really seems to be fixed. I didn't get any freeze anymore. If I don't get it again I'll verify it in the evening.
*** Issue 144519 has been marked as a duplicate of this issue. ***
*** Issue 144517 has been marked as a duplicate of this issue. ***
Works fine. Verified. Product Version: NetBeans IDE Dev (Build 200808220201) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-121 System: Mac OS X version 10.4.11 running on i386; MacRoman; en_US (nb)
*** Issue 144492 has been marked as a duplicate of this issue. ***