I am having trouble running a java program on Ubuntu 10.04 desktop with jdk1.6.0_24. The application works fine on windows platform and starts up fine in Linux, it just crashes with the following error when I close an input dialog. This only happens when running the application from IntelliJ and not when it is run from the Terminal as a built jar.
The program 'Time Clock' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 693 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.)
I've been looking for fixes, but haven't found anything useful yet. Thanks in advance for any help.