JDK-6569077 : Gnome desktop hangs when breakpoint in actionPerformed() method of JComboBox
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2007-06-13
  • Updated: 2011-02-16
  • Resolved: 2007-07-06
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Linux beowulf.netforensics.com 2.6.18-1.2257.fc5 #1 Fri Dec 15 16:06:24 EST 2006 i686 i686 i386 GNU/Linux

EXTRA RELEVANT SYSTEM CONFIGURATION :
Dell Latitude D810 with 2Gig RAM.

A DESCRIPTION OF THE PROBLEM :
I am running Netbeans 6.0 development build (06/12/2007 build) and am trying to debug my application by setting a breakpoint in the actionPerformed() method of one of my JComboBox objects.  When the breakpoint is hit, Netbeans shows me this by highlighting the breakpoint being hit and by offering me to step through the code - unfortunately, all input (mouse and keyboard) seems to still be on the JComboBox!  I can't even go to other applications on the desktop!  The only way to get control to the desktop back is by going to another desktop, telnet'ing in and killing the java process.

I searched the bug database and noticed this bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6384219
which was closed and fixed - but it sure seems like the same bug as I am reporting.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Create application with a JComboBox and add an ActionListener with a actionPerformed() method.
- In Netbeans 6.0, put a breakpoint on the first line of this actionPerformed() method.
- Run the application in the NB debugger
- Make a selection on the JComboBox to activate the breakpoint in the actionPerformed() method.
Try getting keyboard or mouse focus back.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected to be able to step through my program.
ACTUAL -
The system appears to still work - but I have no mouse or keyboard access to it any longer.

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION this is a duplicate of 6517045 (Debugging JComboBox with Java 6 hangs X-windows)
06-07-2007

EVALUATION I think this is a duplicate of 6517045. Assigning to AWT to decide.
05-07-2007