Hi,
I am getting a display error when running a junit test under Hudson on the Eclipse build servers (both on build and build2), using Buckminster.
This test creates a SWT Color, which triggers the display initialization, which fails. The other unit tests succeed.
I have enabled Xvnc in Hudson.
I am getting this exception:
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4109)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:903)
at org.eclipse.swt.widgets.Display.create(Display.java:891)
at org.eclipse.swt.graphics.Device.<init>(Device.java:154)
at org.eclipse.swt.widgets.Display.<init>(Display.java:500)
at org.eclipse.swt.widgets.Display.<init>(Display.java:491)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1694)
at org.eclipse.swt.widgets.Display$1.run(Display.java:457)
at org.eclipse.swt.graphics.Device.getDevice(Device.java:110)
at org.eclipse.swt.graphics.Resource.<init>(Resource.java:49)
at org.eclipse.swt.graphics.Color.<init>(Color.java:106)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.decodeColor(CustomizationEngine.java:1320)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.decodeStaticValue(CustomizationEngine.java:1241)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.evaluate(CustomizationEngine.java:1207)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.getValue(CustomizationEngine.java:1175)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.getValue(CustomizationEngine.java:1145)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.getColor(CustomizationEngine.java:718)
at org.eclipse.gmt.modisco.infra.browser.uicore.internal.customization.CustomizationEngine.getTypeColor(CustomizationEngine.java:701)
at org.eclipse.gmt.modisco.infra.browser.custom.tests.BrowserCustomTest.testUICustomWithCondition(BrowserCustomTest.java:108)
...
--