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.
Created attachment 119064 [details] Thread dump See the attached thread dump.
Can you please test it with Apple JDK. Thanks.
I will, but Oracle JDK is supported as well, no? I am using: Product Version: NetBeans IDE Dev (Build web-main-7531-on-20120503) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Mac OS X version 10.7.3 running on x86_64; UTF-8; en_US (nb)
(In reply to comment #2) > I will, but Oracle JDK is supported as well, no? Yes, it is. > I am using: > Product Version: NetBeans IDE Dev (Build web-main-7531-on-20120503) > Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 > System: Mac OS X version 10.7.3 running on x86_64; UTF-8; en_US (nb) I know what you are using.
Ok, I tried with: Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415 and it worked fine, I did not get any deadlock.
(In reply to comment #4) > Ok, I tried with: > Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415 > > and it worked fine, I did not get any deadlock. OK, so it looks like bug in 1.7.0_04 on Mac, since it also works on Linux with 1.7.0_04. Reassigning.
Similar to already filed JDK bug: http://monaco.us.oracle.com/detail.jsf?cr=7101674 Note that the JDK bug is filed against their tests. The UI manipulation is done outside of EDT which is wrong by definition. The same case like here. Tracer Processor thread is opening Swing UI. This needs to be replanned to EDT in our code.
You're right, unfortunately the JOptionPane isn't designed to be opened outside of EDT, unlike other JDialogs. Will fix.
Fixed by http://hg.netbeans.org/profiler-main/rev/402580ee8e91.
Integrated into 'main-golden', will be available in build *201205100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/402580ee8e91 User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #212056 - invoke Swing code in EDT