| Summary: | X Window System error on Shell.setImages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jay Mising name <jmandawg> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.5.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | Sun | ||||||
| OS: | Solaris-GTK | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Solaris is no longer a supported platform. |
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.