On my Ubuntu 9.10 I have NetBeans 6.8 running. Now when I press the Enter key (to confirm a dialog box, return a line, etc) in some cases it just crashes. The application just quits unexpectedly. Here's what I got when I executed it from command line:
bruce@lee:~$ /usr/local/netbeans-6.8/bin/netbeans
The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 416740 error_code 3 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Any clues?