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.
Steps to reproduce bug: * File -> New Project -> Samples -> Java * Select "GUI Form Examples" * Open "Antenna.java" in design editor * Select the ComboBox "Kathrein 7421.." * Click on "Events" in the properties window * Select "actionPerformed" and add a new event with default name "jComboBox1ActionPerformed" * View changes to "Source" * In the event function add a simple: System.out.println("ComboBox evt=" + evt); * Click left to the new line and set a breakpoint * Compile and run "Antenna.java" in debugger (right click mouse and select "Debug File") * Program window pops up and works as expected, except: * Click on ComboBox "Kathrein..." and select the entry to fire the event. * Netbeans stops in breakpoint. * *** User input (mouse and keyboard) of X11 window is completely blocked. *** * Log in from Linux text console and kill the Antenna-java process. This releases the block. * Unfortunately, debugging of JComboBox events in Netbeans is not possible. Any ideas? Notes: * The X11 display is not completely frozen, but no user input is possible. * Both java processes, Netbeans and Antenna, do not consume cpu time. * Jconsole does not show any deadlocks or other obvious problems in both programs. Addition information: > java -version java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing) > uname -a Linux bender 2.6.22.19-0.3-default #1 SMP 2009-05-27 10:35:34 +0200 i686 i686 i386 GNU/Linux > cat /etc/SuSE-release openSUSE 10.3 (i586) VERSION = 10.3
The bug can be reproduced on a current version of Gentoo. The X11 display is completely locked. Version information: =============GENTOO INFOS================ Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686) System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0 dev-util/netbeans-6.7 was built with the following: USE="doc -debug" LINGUAS="de -ar -cs -es -fr -gl -id -it -ja -ko -nl -pl -pt_BR -ru -sq -sv -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy harness ide identity java mobility nb php profiler ruby webcommon websvccommon" java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)
X11 display is locked by the program you're debugging. Therefore if the program execution is suspended, you can not access the locked display. This is a duplicate of issue #93076. The workaround described there might help you - look at http://wingware.com/doc/howtos/debug-x-grab Specifically, under (2): Setting option "AllowDeactivateGrabs" "true" in xorg.conf. *** This issue has been marked as a duplicate of 93076 ***
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.