Community
Participate
Working Groups
Created attachment 168527 [details] testcase to reproduce the bugs When we modify some UI element by API, the renderer raises an exception from time to time. java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:3865) at org.eclipse.swt.SWT.error(SWT.java:3799) at org.eclipse.swt.SWT.error(SWT.java:3770) at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:419) at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:259) at org.eclipse.ve.internal.swt.ImageDataCollector.createImageData(ImageDataCollector.java:297) at org.eclipse.ve.internal.swt.ImageDataCollector.calledBackStream(ImageDataCollector.java:191) at org.eclipse.jem.internal.proxy.remote.REMCallbackThread.run(REMCallbackThread.java:276) Procedure to reproduce: 1. Load the testcase in workspace 2. Start a runtime workbench 3. Call the context menu in the VE to change Font, Background etc
Created attachment 168542 [details] testcase of bug Remove the dependency on others bundle and make it work directly with standard VE
After launch and open the Visual Editor, a "Bugs" menu is added on a "*.java" file with four actions: -Change All: Change all foreground, background and font of widgets. -Backgrounds: Change background color of widgets to a radom value. -Foregrounds: Change foreground color of widgets to a radom value. -Fonts: Change font of widgets to "Times New Roman" with a radom height. The testing should be done with an openning VE editor, which contains at least 7 widgets.
Created attachment 168543 [details] fix of the bug The stack trace indicates the image structure is wrong. It is probably due to the multiple threading during the imgae capture. It seems this patch fixes this problem.
The project gets archived