Community
Participate
Working Groups
Build Identifier: 20110218-0911 You are able to crash Eclipse if you close the java web start (jws) console[1] while showing a modal dialog from Application.start. The application outputs: The program 'example' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 835 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 am using java version 1.6.0_24 1: http://download.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/console.html#startup Reproducible: Always Steps to Reproduce: 1. Enable the Java web start (see details on how to enable) 2. Download the attached code and update the *.jnlp-files to reflect your environment (setting <jnlp codebase=...>). 3. Run from a terminal "javaws example.jnlp" and the modal dialog pops up 4. Hit close in the console window 5. Application crashes and the error described in details is output.
The code be found here: http://dl.dropbox.com/u/17342984/Code/javawstest.zip
This might be hard to adress: http://www.linuxquestions.org/questions/linux-desktop-74/how-can-i-fix-error-badwindow-invalid-window-parameter-575745/
I don't think this is something we can fix.