Community
Participate
Working Groups
Build Identifier: 3.6.2 When one tries to open Window Builder on a Swing user interface containing 3rd party beans (custom beaninfos and custom images), Eclipse will hang due to an endless loop in method org.eclipse.wb.internal.core.utils.ui.ImageUtils.convertToSWT, which tries to convert the gif file for the bean to an SWT image. Happens with WindowBuilder Plugin version 0.9.0.r36x201105061148. Reproducible: Always Steps to Reproduce: 1. Open the WindowBuilder Designer on a Swing user interface (e.g. empty JDialog) 2. Open "Import Jar Archive" from the WindowBuilder Item Palette and import a Jar archive containing some custom beans with custom BeanInfo images (I can provide a sample Jar if you need one) 3. Select one of the beans to add it to the palette. -> Eclipse hangs forever.
Yes, please attach sample jar.
Created attachment 195370 [details] Test Project for reproducing the bug Here is what to do with the attachment: - unzip and import the sample project into Eclipse - open the class de.gebit.sample.Sample Dialog in Window Builder - goto the palette, open popup menu to "Add Component..." - in the dialog, that comes up, choose class de.gebit.beans.GImagePainter -> Eclipse hangs
Fixed in trunk, will be in next build.
*** Bug 346060 has been marked as a duplicate of this bug. ***