e4 fragments from Eclipse 4.4 not working in 4.7 [message #1785124] |
Mon, 09 April 2018 18:29 |
|
Hi,
I have a pure e4 application developed with Eclipse 4.4. Now I want to update to the current Eclipse version Oxygen (4.7) but when I start the application I get an IllegalArgumentException:
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-04-09 20:18:12.170
!MESSAGE Could not resolve an import element for 'null'
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-04-09 20:18:12.172
!MESSAGE Could not resolve an import element for 'null'
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-04-09 20:18:12.176
!MESSAGE Could not resolve an import element for 'null'
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-04-09 20:18:12.178
!MESSAGE Could not resolve import for null
!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-04-09 20:18:12.178
!MESSAGE Replacing
!ENTRY org.eclipse.osgi 4 0 2018-04-09 20:18:12.190
!MESSAGE Application error
!STACK 1
java.lang.IllegalArgumentException: The 'no null' constraint is violated
at org.eclipse.emf.common.util.AbstractEList.validate(AbstractEList.java:99)
at org.eclipse.emf.ecore.util.EcoreEList.validate(EcoreEList.java:63)
at org.eclipse.emf.common.util.BasicEList.setUnique(BasicEList.java:397)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doSetUnique(NotifyingListImpl.java:1247)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.setUnique(NotifyingListImpl.java:1222)
at org.eclipse.emf.common.util.AbstractEList.set(AbstractEList.java:270)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler$1.run(ModelAssembler.java:431)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.resolveImports(ModelAssembler.java:443)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processFragment(ModelAssembler.java:199)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processFragments(ModelAssembler.java:145)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processFragments(ModelAssembler.java:133)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:99)
at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:197)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:378)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:253)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:149)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
My fragment.e4xmi looks like this: https://pastebin.com/P5NJr5dA
|
|
|
|
Powered by
FUDForum. Page generated in 0.02588 seconds