Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319555 - X Window System error on Shell.setImages
Summary: X Window System error on Shell.setImages
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5.2   Edit
Hardware: Sun Solaris-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 09:14 EDT by Jay Mising name CLA
Modified: 2017-06-20 02:33 EDT (History)
0 users

See Also:


Attachments
Icons (96.29 KB, application/x-zip-compressed)
2010-07-12 09:14 EDT, Jay Mising name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Mising name CLA 2010-07-12 09:14:11 EDT
Created attachment 174019 [details]
Icons

When running the following lines of code:

    shell.setImages(new Image[] {
        new Image(display, clazz.getResourceAsStream("resource/DJIcon16x16.png")),
        new Image(display, clazz.getResourceAsStream("resource/DJIcon24x24.png")),
        new Image(display, clazz.getResourceAsStream("resource/DJIcon32x32.png")),
        new Image(display, clazz.getResourceAsStream("resource/DJIcon48x48.png")),
        new Image(display, clazz.getResourceAsStream("resource/DJIcon256x256.png")),
    });

I receive the following Error:

The program 'SWT' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.  (Details: serial 316 error_code 16 request_code 18 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.)

Same issue on two different sparc workstations both running Solaris 10 u3.  Tried with both swt 3.5.2/3.6 and got the same error.  Attached are the icons.
Comment 1 Lakshmi P Shanmugam CLA 2017-06-20 02:33:15 EDT
Solaris is no longer a supported platform.