[ 
https://issues.apache.org/jira/browse/SLING-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13998629#comment-13998629
 ] 

Robert Munteanu commented on SLING-3564:
----------------------------------------

Can you try the attached diff and see if it fixes the build for you?  In the 
tooling/ide directory, apply it with patch -p3 < SLING-3564-1.diff

> it tests in tooling/ide/eclipse-test fail (for me) with SWTException: Invalid 
> thread access
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-3564
>                 URL: https://issues.apache.org/jira/browse/SLING-3564
>             Project: Sling
>          Issue Type: Bug
>          Components: IDE
>         Environment: mac os x, 10.7.5, java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
>            Reporter: Stefan Egli
>            Assignee: Robert Munteanu
>            Priority: Critical
>             Fix For: Sling Eclipse IDE 1.0.0
>
>         Attachments: SLING-3564-1.diff
>
>
> When I run 'mvn clean install' in tooling/ide I get a failure in 
> tooling/ide/eclipse-test (same thing happens with just 'mvn clean verify' in 
> eclipse-test):
> {code}
> ***WARNING: Display must be created on main thread due to Cocoa restrictions.
> {code}
> and the corresponding 
> tooling/ide/eclipse-test/target/work/data/.metadata/.log says:
> {code}
> org.eclipse.swt.SWTException: Invalid thread access
>         at org.eclipse.swt.SWT.error(SWT.java:4397)
>         at org.eclipse.swt.SWT.error(SWT.java:4312)
>         at org.eclipse.swt.SWT.error(SWT.java:4283)
>         at org.eclipse.swt.widgets.Display.error(Display.java:1076)
>         at org.eclipse.swt.widgets.Display.createDisplay(Display.java:833)
>         at org.eclipse.swt.widgets.Display.create(Display.java:816)
>         at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
>         at org.eclipse.swt.widgets.Display.<init>(Display.java:707)
>         at org.eclipse.swt.widgets.Display.<init>(Display.java:698)
>         at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
>         at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
>         at 
> org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
>         at 
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
>         at 
> org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
>         at 
> org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
>         at 
> org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
>         at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>         at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>         at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>         at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
>         at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to