Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342151 - Closing java web start console crashes Eclipse with 'BadWindow (invalid Window parameter)'
Summary: Closing java web start console crashes Eclipse with 'BadWindow (invalid Windo...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-04-07 09:01 EDT by Mats-Ola Persson CLA
Modified: 2018-06-29 15:33 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mats-Ola Persson CLA 2011-04-07 09:01:10 EDT
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.
Comment 1 Mats-Ola Persson CLA 2011-04-07 09:09:16 EDT
The code be found here: http://dl.dropbox.com/u/17342984/Code/javawstest.zip
Comment 3 Eric Williams CLA 2018-06-29 15:33:37 EDT
I don't think this is something we can fix.