[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-vex-dev] Vex build is failing

Hi Jan,

I found that I use a special parameter when I run the mvn build within my IDE. I run
goals: clean install
profiles: ci-build
parameters:
application=org.eclipse.tycho.surefire.osgibooter.headlesstest
milestone=M1


The flag "Resolve Workspace artifacts" is also checked.

The build works for me with these settings. I hope it helps for you.

Florian


Am 08.12.2017 um 23:12 schrieb Jan Tosovsky:
Hi Florian,

thanks for pointing that option out. A current IDE version was selected by
default. However, selecting another option didn't help.

Here is the more complete stacktrace, but only for the first issue:

!SESSION 2017-12-08 21:59:29.143
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=cs_CZ
Framework arguments:  -application
org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties
C:\Users\Honza\Documents\GitHub\jan-tosovsky-cz\vex\org.eclipse.vex.core.tes
ts\target\surefire.properties
Command-line arguments:  -data
C:\Users\Honza\Documents\GitHub\jan-tosovsky-cz\vex\org.eclipse.vex.core.tes
ts\target\work\data -application
org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties
C:\Users\Honza\Documents\GitHub\jan-tosovsky-cz\vex\org.eclipse.vex.core.tes
ts\target\surefire.properties

!ENTRY org.eclipse.equinox.ds 4 0 2017-12-08 21:59:30.769
!MESSAGE [SCR] Exception while activating instance
org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager@54611e29 of
component org.eclipse.e4.ui.css.swt.theme
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getDeclaredMethods(Unknown Source)
	at
org.eclipse.equinox.internal.ds.model.ServiceComponent.getMethod(ServiceComp
onent.java:126)
	at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceCompo
nent.java:213)
	at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceC
omponentProp.java:146)
	at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComp
onentProp.java:345)
	at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProce
ss.java:620)
	at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProc
ess.java:197)
	at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:4
73)
	at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
	at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
	at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.jav
a:783)
	at
org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
cannot be found by org.eclipse.e4.ui.css.swt.theme_0.9.100.v20130515-1857
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:501)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 15 more

It is realy weird as I found that org/eclipse/swt/widgets/Display.class in
org.eclipse.swt.win32.win32.x86_64_3.104.0.v20150528-0211.jar which is a
Plug-in Dependency of org.eclipse.vex.core.tests project.

So this JAR file seems to be ignored by the classloader.

That 'org.eclipse.e4.ui.css.swt.theme_0.9.100.v20130515-1857' reference is
mentioned once in
/org.eclipse.vex.core.tests/target/work/configuration/config.ini

Is it working for you in the current IDE? Btw, I use Eclipse IDE for Eclipse
Commiters from https://www.eclipse.org/downloads/eclipse-packages/

Jan

Here is continuation of that stacktrace above:

!ENTRY org.eclipse.osgi 2 0 2017-12-08 22:57:04.436
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-12-08 22:57:04.436
!MESSAGE Bundle
initial@reference:file:../../../../../../../.m2/repository/p2/osgi/bundle/or
g.eclipse.swt.cocoa.macosx.x86_64/3.102.1.v20140206-1358/org.eclipse.swt.coc
oa.macosx.x86_64-3.102.1.v20140206-1358.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2017-12-08 22:57:04.436
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version
=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-12-08 22:57:04.436
!MESSAGE Bundle
initial@reference:file:../../../../../../../.m2/repository/p2/osgi/bundle/or
g.eclipse.swt.gtk.linux.x86_64/3.102.1.v20140206-1358/org.eclipse.swt.gtk.li
nux.x86_64-3.102.1.v20140206-1358.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2017-12-08 22:57:04.436
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version
=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-12-08 22:57:04.436
!MESSAGE Bundle
initial@reference:file:../../../../../../../.m2/repository/p2/osgi/bundle/or
g.eclipse.swt.win32.win32.x86/3.102.1.v20140206-1358/org.eclipse.swt.win32.w
in32.x86-3.102.1.v20140206-1358.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2017-12-08 22:57:04.436
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version
=1.3)))".

!ENTRY org.eclipse.osgi 2 0 2017-12-08 22:57:04.438
!MESSAGE The following is a complete list of bundles which are not resolved,
see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-12-08 22:57:04.438
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_3.102.1.v20140206-1358 [94]
was not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2017-12-08 22:57:04.438
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version
=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-12-08 22:57:04.438
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_64_3.102.1.v20140206-1358 [95]
was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2017-12-08 22:57:04.438
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version
=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-12-08 22:57:04.438
!MESSAGE Bundle org.eclipse.swt.cocoa.macosx.x86_64_3.102.1.v20140206-1358
[96] was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2017-12-08 22:57:04.438
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version
=1.3)))".

!ENTRY org.eclipse.osgi 4 0 2017-12-08 22:57:04.549
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (74).
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench
is invalid
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(
AbstractBundle.java:172)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
xtImpl.java:679)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
ava:381)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle
.java:300)
	at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
	at
org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.ja
va:263)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalCl
ass(EclipseLazyStarter.java:109)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:469)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:395)
	at
org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourceP
ackage.java:35)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:461)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Default
ClassLoader.java:188)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClassHoldingLock(
ClasspathManager.java:638)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathMa
nager.java:613)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpath
Manager.java:574)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Clas
spathManager.java:492)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:465)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:395)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:464)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:34
0)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.jav
a:229)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(
AbstractBundle.java:165)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
xtImpl.java:679)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
ava:381)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle
.java:300)
	at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
	at
org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.ja
va:263)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalCl
ass(EclipseLazyStarter.java:109)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:469)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:395)
	at
org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourceP
ackage.java:35)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:461)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getMethod0(Unknown Source)
	at java.lang.Class.getMethod(Unknown Source)
	at
org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.
java:57)
	at
org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3
TestChecker.java:64)
	at
org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(
JUnit3TestChecker.java:59)
	at
org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestC
hecker.java:54)
	at
org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestC
hecker.java:52)
	at
org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResu
lt.java:97)
	at
org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider
.java:206)
	at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:1
03)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(Reflec
tionUtils.java:208)
	at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provid
erFactory.java:156)
	at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFact
ory.java:82)
	at
org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBoo
ter.java:91)
	at
org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTe
stApplication.java:21)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException
(EclipseAppContainer.java:587)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
198)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:110)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(
AbstractBundle.java:167)
	... 87 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError cannot
be found by org.eclipse.ui.workbench_3.105.2.v20140211-1711
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:501)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 92 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(
AbstractBundle.java:167)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
xtImpl.java:679)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
ava:381)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle
.java:300)
	at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
	at
org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.ja
va:263)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalCl
ass(EclipseLazyStarter.java:109)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:469)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:395)
	at
org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourceP
ackage.java:35)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:461)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Default
ClassLoader.java:188)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClassHoldingLock(
ClasspathManager.java:638)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathMa
nager.java:613)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpath
Manager.java:574)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Clas
spathManager.java:492)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:465)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:395)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:464)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:34
0)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.jav
a:229)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(
AbstractBundle.java:165)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
xtImpl.java:679)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
ava:381)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle
.java:300)
	at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
	at
org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.ja
va:263)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalCl
ass(EclipseLazyStarter.java:109)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:469)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:395)
	at
org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourceP
ackage.java:35)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:461)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getMethod0(Unknown Source)
	at java.lang.Class.getMethod(Unknown Source)
	at
org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.
java:57)
	at
org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3
TestChecker.java:64)
	at
org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(
JUnit3TestChecker.java:59)
	at
org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestC
hecker.java:54)
	at
org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestC
hecker.java:52)
	at
org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResu
lt.java:97)
	at
org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider
.java:206)
	at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:1
03)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(Reflec
tionUtils.java:208)
	at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provid
erFactory.java:156)
	at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFact
ory.java:82)
	at
org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBoo
ter.java:91)
	at
org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTe
stApplication.java:21)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException
(EclipseAppContainer.java:587)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
198)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:110)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError cannot
be found by org.eclipse.ui.workbench_3.105.2.v20140211-1711
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:501)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
1)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
2)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 92 more

-----Original Message-----
From: mylyn-vex-dev-bounces@xxxxxxxxxxx [mailto:mylyn-vex-dev-
bounces@xxxxxxxxxxx] On Behalf Of Florian Thienel
Sent: Friday, December 8, 2017 5:49 PM
To: mylyn-vex-dev@xxxxxxxxxxx
Subject: Re: [mylyn-vex-dev] Vex build is failing

Hi Jan,

Have you configured one of the Vex target platforms in your workspace?
(Window > Preferences > Plug-in Development > Target Platform). There
are three differente platforms currently available. Please configure one
of them and try again.

BR, Florian

Am 08.12.2017 um 00:44 schrieb Jan Tosovsky:
Dear All,

I've cloned Vex GitHub repository and tried to build the current version
in
Eclipse Oxygen.1a (via Maven's Build All Vex). All went well, except for
'Vex Core Tests' module, which failed with several
ClassNotFoundExceptions:

Caused by: java.lang.ClassNotFoundException:
org.eclipse.swt.widgets.Display
cannot be found by org.eclipse.e4.ui.css.swt.theme_0.9.100.v20130515-
1857
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
cannot
be found by org.eclipse.ui.workbench_3.105.2.v20140211-1711
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/ui/plugin/AbstractUIPlugin
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/vex/core/internal/boxes/IInlineBox

Should I add any additional dependencies?

Thanks,
Jan




_______________________________________________ mylyn-vex-dev mailing list mylyn-vex-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/mylyn-vex-dev

_______________________________________________
mylyn-vex-dev mailing list
mylyn-vex-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/mylyn-vex-dev

_______________________________________________ mylyn-vex-dev mailing list mylyn-vex-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mylyn-vex-dev