Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Having problems running 3.7 RCP app in e4
Having problems running 3.7 RCP app in e4 [message #800928] Fri, 17 February 2012 17:55 Go to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
I'm trying to get my 3.7 RCP app (https://github.com/Phillipus/archi) to run in e4. I'm absolutely failing here.

I'm using eclipse-SDK-I20120216-2200-win32, I added the EMF and GEF from software update, I imported my code, it compiles. I created a Launch configuration based on the app's product, added only the required selected plug-ins, added "equinox.ds" and hit "Add Required Plug-ins". I hit Run and get:

!SESSION 2012-02-17 17:52:01.817 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -product uk.ac.bolton.archimate.editor.product
Command-line arguments:  -product uk.ac.bolton.archimate.editor.product -data C:\Users\Phillipus\workspace/../runtime-Archi -dev file:C:/Users/Phillipus/workspace/.metadata/.plugins/org.eclipse.pde.core/Archi/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.288
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.291
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.293
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.444
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.456
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.458
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.461
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.463
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.466
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.468
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.471
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.473
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.475
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.477
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.479
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.481
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.488
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.490
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.493
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.496
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.498
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.500
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.502
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.504
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.558
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.561
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.565
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.569
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.571
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.578
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.581
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.583
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.585
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.588
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.590
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.593
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.596
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.599
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.601
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.608
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/menu/MenuContributions/menuContributions/UNKNOWN].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.612
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/menu/ToolBarContributions/toolBarContributions/UNKNOWN].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.615
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/menu/TrimContributions/trimContributions/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.771
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.782
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.785
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.792
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.002
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.006
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.009
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.012
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.014
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.114
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/TrimmedWindow/trimBars/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.120
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.127
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.136
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.140
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.144
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.147
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.152
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.156
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.158
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].

!ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2012-02-17 17:52:05.161
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
	at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
	at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
	at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
	at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
	at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
	at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
	at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
	at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
	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:352)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:624)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
Caused by: java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
	at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	... 53 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.165
!MESSAGE Exception occurred while rendering: org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@9c939 (elementId: IDEWindow, tags: [topLevel], contributorURI: platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {Eclipse SDK 4.0}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@166faac, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: Eclipse SDK 4.0, iconURI: null, tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context, variables: [], x: -2147483648, y: -2147483648, width: 1024, height: 768)
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
	at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
	at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
	at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
	at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
	at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
	at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
	at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
	at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
	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:352)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:624)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
Caused by: java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
	at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	... 53 more



I really must be missing something here. Do I need to add something to the plugin.xml file or MANIFEST.MF file. Or....?

PB

Re: Having problems running 3.7 RCP app in e4 [message #801522 is a reply to message #800928] Sat, 18 February 2012 14:42 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
Hi Phil.

Thanks for trying your app on 4.2.

In addition to org.eclipse.equinox.ds, you also need org.eclipse.equinox.event. These implement two standard OSGi services, and unfortunately we can't simply depend on them.

But instead of specifying individual bundles, I'd highly recommend that you instead ensure you product/app is feature-based and instead depend on the org.eclipse.rcp feature.

And I hope that the NPEs are symptoms of that problem too. Please let us know if you have any other problems.

[Updated on: Sat, 18 February 2012 14:43]

Report message to a moderator

Re: Having problems running 3.7 RCP app in e4 [message #806228 is a reply to message #801522] Fri, 24 February 2012 18:21 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
Thanks to an article by Lars Vogel I finally managed to get my RCP app running in E4.

Unfortunately, I think this is where I get off the Eclipse train. There are now so many things broken in the app as a result of E4 that I don't know where to start. If I were to submit bugs and respond to those I would get nothing else done. I'm experiencing menu items not showing or appearing multiple times, context menu item extensions not evaluating properly, numerous NPEs, UI thread problems, etc, etc. And even if I did submit bug reports I could not guarantee to our users when the app would be bug free, if ever.
Re: Having problems running 3.7 RCP app in e4 [message #806244 is a reply to message #806228] Fri, 24 February 2012 18:38 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
Another example of broken behaviour:

The Editor Parts in our RCP app are responsible for their dirty state and whether they need saving by returning false in isSaveOnCloseNeeded(). The behaviour is therefore not to ask the user if the editor needs saving when the edittor is closed. Now with e4 this is ignored and the user is asked each time.
Re: Having problems running 3.7 RCP app in e4 [message #807429 is a reply to message #806244] Sun, 26 February 2012 12:46 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
I can understand your troubles but not filing at least bugs for problems
/ missing functionality you are encountering will not help us finding
and fixing them.

Tom

Am 24.02.12 19:38, schrieb Phil Beauvoir:
> Another example of broken behaviour:
>
> The Editor Parts in our RCP app are responsible for their dirty state
> and whether they need saving by returning false in
> isSaveOnCloseNeeded(). The behaviour is therefore not to ask the user if
> the editor needs saving when the edittor is closed. Now with e4 this is
> ignored and the user is asked each time.
Re: Having problems running 3.7 RCP app in e4 [message #807667 is a reply to message #807429] Sun, 26 February 2012 21:32 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
Tom, I will try.

[Updated on: Sun, 26 February 2012 22:15]

Report message to a moderator

Re: Having problems running 3.7 RCP app in e4 [message #807954 is a reply to message #807667] Mon, 27 February 2012 08:11 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Couldn't you at least file those ones you are aware of - we can't fix
things we don't know about.

Tom

Am 26.02.12 22:32, schrieb Phil Beauvoir:
> Tom, I think the problem goes deeper than finding bugs randomly. I might
> find 3 or 4 today, some more next week, and so on and so on, but miss
> others. The changes that have been made to e4 are at such a core level
> that I suspect that there will always be something lurking. I either
> re-write my app from scratch or stay with Eclipse 3.x until the day it
> no longer works, or I retire, whichever comes soonest.
Re: Having problems running 3.7 RCP app in e4 [message #808864 is a reply to message #807954] Tue, 28 February 2012 08:31 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

@Phil: Great to hear that my tutorial help you to migrate your application.

Can you also please post the bug report numbers here for references?
Re: Having problems running 3.7 RCP app in e4 [message #810852 is a reply to message #808864] Thu, 01 March 2012 16:07 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
Ok, here's the first one - https://bugs.eclipse.org/bugs/show_bug.cgi?id=372992

Did I report it to the right place?

[Edit - I reported it in "e4" category but it got moved to "Platform". What is "e4" and what isn't "e4"?]

Phil

[Updated on: Thu, 01 March 2012 16:14]

Report message to a moderator

Re: Having problems running 3.7 RCP app in e4 [message #810966 is a reply to message #810852] Thu, 01 March 2012 18:57 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
Here's another one - https://bugs.eclipse.org/bugs/show_bug.cgi?id=373011

Re: Having problems running 3.7 RCP app in e4 [message #810972 is a reply to message #810966] Thu, 01 March 2012 19:06 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
The next bug is hard to report. I may need help.

My RCP app has a plug-in that contributes to the context menu of a Treeviewer. The plug-in extends an org.eclipse.ui.menus.ExtensionContributionFactory and an org.eclipse.core.expressions.Expression to evaluate whether the context menu items should be visible or not:
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="true"
            class="uk.ac.bolton.archimate.canvas.NewCanvasExtensionContributionFactory"
            locationURI="popup:uk.ac.bolton.archimate.editor.treeModelView.new_menu">
      </menuContribution>
      <menuContribution
            allPopups="true"
            class="uk.ac.bolton.archimate.canvas.SaveAsCanvasExtensionContributionFactory"
            locationURI="popup:uk.ac.bolton.archimate.editor.treeModelView?after=open">
      </menuContribution>
   </extension>


In Eclipse 4.2, this is all broken. The context menu items show up more than once, and the IEvaluationContext object passed as a parameter in the method public EvaluationResult evaluate(IEvaluationContext context) in the Expression class is a TreeItem[] in 4.2 and a List object in 3.7.

In this case I don't even know how to report this bug with a test case. Enough to say that it's broken?

[Updated on: Thu, 01 March 2012 19:08]

Report message to a moderator

Re: Having problems running 3.7 RCP app in e4 [message #811030 is a reply to message #810852] Thu, 01 March 2012 21:04 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Perfect - all things that are not working from 3.7 go to Platform/UI!

Tom

Am 01.03.12 17:07, schrieb Phil Beauvoir:
> Ok, here's the first one -
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=372992
>
> Did I report it to the right place?
>
> Phil
Re: Having problems running 3.7 RCP app in e4 [message #813947 is a reply to message #810972] Mon, 05 March 2012 21:53 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Phil Beauvoir wrote on Thu, 01 March 2012 14:06
The next bug is hard to report. I may need help.

My RCP app has a plug-in that contributes to the context menu of a Treeviewer. The plug-in extends an org.eclipse.ui.menus.ExtensionContributionFactory and an org.eclipse.core.expressions.Expression to evaluate whether the context menu items should be visible or not:
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="true"
            class="uk.ac.bolton.archimate.canvas.NewCanvasExtensionContributionFactory"
            locationURI="popup:uk.ac.bolton.archimate.editor.treeModelView.new_menu">
      </menuContribution>
      <menuContribution
            allPopups="true"
            class="uk.ac.bolton.archimate.canvas.SaveAsCanvasExtensionContributionFactory"
            locationURI="popup:uk.ac.bolton.archimate.editor.treeModelView?after=open">
      </menuContribution>
   </extension>


In Eclipse 4.2, this is all broken. The context menu items show up more than once, and the IEvaluationContext object passed as a parameter in the method public EvaluationResult evaluate(IEvaluationContext context) in the Expression class is a TreeItem[] in 4.2 and a List object in 3.7.

In this case I don't even know how to report this bug with a test case. Enough to say that it's broken?


Hi Phil.

Please open a new bug about the extension factory elements showing up multiple times. Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=367094 where we are working on other programmatic factory issues.

Could you open a separate bug about the default variable being an array in 4.2 and a Collection in 3.7?

Thanx,
PW


Re: Having problems running 3.7 RCP app in e4 [message #830167 is a reply to message #800928] Tue, 27 March 2012 09:30 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
.

[Updated on: Tue, 27 March 2012 20:37]

Report message to a moderator

Re: Having problems running 3.7 RCP app in e4 [message #831726 is a reply to message #800928] Thu, 29 March 2012 08:58 Go to previous messageGo to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
Completely agree with Phil, for now (M6) e4 looks like pre-alfa platform, I
hope it's not what we'll got as a release...

"Phil Beauvoir" wrote in message news:jhm4ah$rae$1@xxxxxxxxe.org...

I'm trying to get my 3.7 RCP app (https://github.com/Phillipus/archi) to run
in e4. I'm absolutely failing here.

I'm using eclipse-SDK-I20120216-2200-win32, I added the EMF and GEF from
software update, I imported my code, it compiles. I created a Launch
configuration based on the app's product, added only the required selected
plug-ins, added "equinox.ds" and hit "Add Required Plug-ins". I hit Run and
get:


!SESSION 2012-02-17
17:52:01.817 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: -product uk.ac.bolton.archimate.editor.product
Command-line arguments: -product
uk.ac.bolton.archimate.editor.product -data
C:\Users\Phillipus\workspace/../runtime-Archi -dev
file:C:/Users/Phillipus/workspace/.metadata/.plugins/org.eclipse.pde.core/Archi/dev.properties
-os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.288
!MESSAGE Unable to retrieve the bundle from the URI:
bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.291
!MESSAGE Unable to retrieve the bundle from the URI:
bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.293
!MESSAGE Unable to retrieve the bundle from the URI:
bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.444
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.456
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.458
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.461
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.463
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.466
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.468
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.471
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.473
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.475
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.477
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.479
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.481
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.488
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.490
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.493
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.496
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.498
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.500
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.502
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.504
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.558
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.561
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.565
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.569
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.571
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.578
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.581
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.583
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.585
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.588
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.590
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.593
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.596
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.599
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.601
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.608
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/menu/MenuContributions/menuContributions/UNKNOWN].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.612
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/menu/ToolBarContributions/toolBarContributions/UNKNOWN].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.615
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/menu/TrimContributions/trimContributions/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.771
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/Context/context/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.782
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.785
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.792
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.002
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.006
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.009
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.012
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.014
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.114
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/TrimmedWindow/trimBars/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.120
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.127
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.136
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.140
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.144
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.147
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.152
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.156
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.158
!MESSAGE Event Admin service is not available, unable to publish event
org.osgi.service.event.Event
[topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].

!ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2012-02-17 17:52:05.161
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.e4.ui.workbench.swt".
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
at
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
at
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
at
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
at
org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
at
org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
at
org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
at
org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
at
org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
at
org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
at
org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
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:352)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
Caused by: java.lang.NullPointerException
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
.... 53 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.165
!MESSAGE Exception occurred while rendering:
org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@9c939
(elementId: IDEWindow, tags: [topLevel], contributorURI:
platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {Eclipse SDK 4.0},
renderer: org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@166faac,
toBeRendered: true, onTop: false, visible: true, containerData: null,
accessibilityPhrase: null) (label: Eclipse SDK 4.0, iconURI: null, tooltip:
null, context: TrimmedWindowImpl (IDEWindow) Context, variables: [],
x: -2147483648, y: -2147483648, width: 1024, height: 768)
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
at
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
at
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
at
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
at
org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
at
org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
at
org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
at
org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
at
org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
at
org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
at
org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
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:352)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
Caused by: java.lang.NullPointerException
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
.... 53 more



I really must be missing something here. Do I need to add something to the
plugin.xml file or MANIFEST.MF file. Or....?

PB
Re: Having problems running 3.7 RCP app in e4 [message #831944 is a reply to message #831726] Thu, 29 March 2012 14:50 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You are missing the equinox.event!

Tom

Am 29.03.12 04:58, schrieb Sergey Kuznetsov:
> Completely agree with Phil, for now (M6) e4 looks like pre-alfa
> platform, I hope it's not what we'll got as a release...
>
> "Phil Beauvoir" wrote in message news:jhm4ah$rae$1@xxxxxxxxe.org...
>
> I'm trying to get my 3.7 RCP app (https://github.com/Phillipus/archi) to
> run in e4. I'm absolutely failing here.
>
> I'm using eclipse-SDK-I20120216-2200-win32, I added the EMF and GEF from
> software update, I imported my code, it compiles. I created a Launch
> configuration based on the app's product, added only the required
> selected plug-ins, added "equinox.ds" and hit "Add Required Plug-ins". I
> hit Run and get:
>
>
> !SESSION 2012-02-17 17:52:01.817
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
> Framework arguments: -product uk.ac.bolton.archimate.editor.product
> Command-line arguments: -product uk.ac.bolton.archimate.editor.product
> -data C:\Users\Phillipus\workspace/../runtime-Archi -dev
> file:C:/Users/Phillipus/workspace/.metadata/.plugins/org.eclipse.pde.core/Archi/dev.properties
> -os win32 -ws win32 -arch x86 -consoleLog
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.288
> !MESSAGE Unable to retrieve the bundle from the URI:
> bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.291
> !MESSAGE Unable to retrieve the bundle from the URI:
> bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.293
> !MESSAGE Unable to retrieve the bundle from the URI:
> bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.444
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.456
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.458
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.461
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.463
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.466
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.468
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.471
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.473
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.475
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.477
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.479
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.481
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.488
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.490
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.493
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.496
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.498
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.500
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.502
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.504
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.558
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.561
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.565
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.569
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.571
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.578
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.581
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.583
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.585
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.588
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.590
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.593
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.596
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.599
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.601
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.608
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/menu/MenuContributions/menuContributions/UNKNOWN].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.612
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/menu/ToolBarContributions/toolBarContributions/UNKNOWN].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.615
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/menu/TrimContributions/trimContributions/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.771
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.782
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.785
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.792
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.002
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.006
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.009
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.012
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.014
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.114
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/TrimmedWindow/trimBars/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.120
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.127
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.136
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.140
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.144
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.147
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.152
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.156
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.158
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2012-02-17 17:52:05.161
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.e4.ui.workbench.swt".
> !STACK 0
> org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
>
> at
> org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
>
> at
> org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
> at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
> at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
> at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
> at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
>
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
> 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:352)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> 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:624)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
>
> at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>
> ... 53 more
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.165
> !MESSAGE Exception occurred while rendering:
> org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@9c939 (elementId:
> IDEWindow, tags: [topLevel], contributorURI:
> platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {Eclipse SDK
> 4.0}, renderer:
> org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@166faac,
> toBeRendered: true, onTop: false, visible: true, containerData: null,
> accessibilityPhrase: null) (label: Eclipse SDK 4.0, iconURI: null,
> tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context,
> variables: [], x: -2147483648, y: -2147483648, width: 1024, height: 768)
> !STACK 0
> org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
>
> at
> org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
>
> at
> org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
> at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
> at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
> at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
> at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
>
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
> 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:352)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> 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:624)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
>
> at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>
> ... 53 more
>
>
>
> I really must be missing something here. Do I need to add something to
> the plugin.xml file or MANIFEST.MF file. Or....?
>
> PB
>
Re: Having problems running 3.7 RCP app in e4 [message #832494 is a reply to message #831944] Fri, 30 March 2012 07:55 Go to previous messageGo to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
Thanks, I successfully started my old-fashioned RCP application, I'm not
really happy with what I saw, but some lights better than darkness, right?

May be you have time to advise me - is there are ways to get rid of "Quick
Access" toolbar control?

Brg,
Sergey.

"Tom Schindl" wrote in message news:jl1srp$3ce$1@xxxxxxxxe.org...

You are missing the equinox.event!

Tom

Am 29.03.12 04:58, schrieb Sergey Kuznetsov:
> Completely agree with Phil, for now (M6) e4 looks like pre-alfa
> platform, I hope it's not what we'll got as a release...
>
> "Phil Beauvoir" wrote in message news:jhm4ah$rae$1@xxxxxxxxe.org...
>
> I'm trying to get my 3.7 RCP app (https://github.com/Phillipus/archi) to
> run in e4. I'm absolutely failing here.
>
> I'm using eclipse-SDK-I20120216-2200-win32, I added the EMF and GEF from
> software update, I imported my code, it compiles. I created a Launch
> configuration based on the app's product, added only the required
> selected plug-ins, added "equinox.ds" and hit "Add Required Plug-ins". I
> hit Run and get:
>
>
> !SESSION 2012-02-17 17:52:01.817
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
> Framework arguments: -product uk.ac.bolton.archimate.editor.product
> Command-line arguments: -product uk.ac.bolton.archimate.editor.product
> -data C:\Users\Phillipus\workspace/../runtime-Archi -dev
> file:C:/Users/Phillipus/workspace/.metadata/.plugins/org.eclipse.pde.core/Archi/dev.properties
> -os win32 -ws win32 -arch x86 -consoleLog
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.288
> !MESSAGE Unable to retrieve the bundle from the URI:
> bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.291
> !MESSAGE Unable to retrieve the bundle from the URI:
> bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.293
> !MESSAGE Unable to retrieve the bundle from the URI:
> bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.444
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.456
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.458
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.461
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.463
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.466
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.468
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.471
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.473
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.475
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.477
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.479
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.481
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.488
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.490
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.493
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.496
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.498
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.500
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.502
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/PartDescriptorContainer/descriptors/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.504
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.558
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.561
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.565
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.569
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.571
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.578
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.581
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.583
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.585
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.588
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.590
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.593
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/rootContext/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.596
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/commands/BindingTableContainer/bindingTables/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.599
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.601
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/Application/commands/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.608
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/menu/MenuContributions/menuContributions/UNKNOWN].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.612
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/menu/ToolBarContributions/toolBarContributions/UNKNOWN].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.615
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/menu/TrimContributions/trimContributions/ADD].
>
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.771
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.782
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.785
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:04.792
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.002
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.006
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.009
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.012
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.014
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.114
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/TrimmedWindow/trimBars/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.120
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.127
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.136
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.140
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.144
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.147
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.152
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/basic/Window/sharedElements/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.156
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD].
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.158
> !MESSAGE Event Admin service is not available, unable to publish event
> org.osgi.service.event.Event
> [topic=org/eclipse/e4/ui/model/ui/ElementContainer/selectedElement/SET].
>
> !ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2012-02-17 17:52:05.161
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.e4.ui.workbench.swt".
> !STACK 0
> org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
>
> at
> org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
>
> at
> org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
> at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
> at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
> at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
> at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
>
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
> 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:352)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> 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:624)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
>
> at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>
> ... 53 more
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-17 17:52:05.165
> !MESSAGE Exception occurred while rendering:
> org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@9c939
> (elementId:
> IDEWindow, tags: [topLevel], contributorURI:
> platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {Eclipse SDK
> 4.0}, renderer:
> org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@166faac,
> toBeRendered: true, onTop: false, visible: true, containerData: null,
> accessibilityPhrase: null) (label: Eclipse SDK 4.0, iconURI: null,
> tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context,
> variables: [], x: -2147483648, y: -2147483648, width: 1024, height: 768)
> !STACK 0
> org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:853)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:81)
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:72)
>
> at
> org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1235)
>
> at
> org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1209)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:932)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:133)
>
> at
> org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:692)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
> at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1664)
> at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2145)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2069)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
> at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
> at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:231)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1217)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:710)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:719)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:690)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:684)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:669)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:951)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:910)
>
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at uk.ac.bolton.archimate.editor.Application.start(Application.java:59)
> 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:352)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> 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:624)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3354)
>
> at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:535)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>
> ... 53 more
>
>
>
> I really must be missing something here. Do I need to add something to
> the plugin.xml file or MANIFEST.MF file. Or....?
>
> PB
>
Re: Having problems running 3.7 RCP app in e4 [message #833393 is a reply to message #831726] Sat, 31 March 2012 11:58 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
You'll do yourself many favors if you change your build to a feature-based build and use the org.eclipse.rcp feature: it I ncludes all the necessary bundles for an RCP app, including org,eclipse.equinox.ds and .event.

Brian,
Re: Having problems running 3.7 RCP app in e4 [message #833567 is a reply to message #833393] Sat, 31 March 2012 18:07 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, but I always use feature based products, and of course one of
features is rcp feature. It does not help in e4 case.

On 2012-03-31 11:58:05 +0000, Brian de Alwis said:

> You'll do yourself many favors if you change your build to a
> feature-based build and use the org.eclipse.rcp feature: it I ncludes
> all the necessary bundles for an RCP app, including
> org,eclipse.equinox.ds and .event.
>
> Brian,
Re: Having problems running 3.7 RCP app in e4 [message #833570 is a reply to message #833567] Sat, 31 March 2012 18:15 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

The emf bundles are missing. Please press "Add required" features in your product configuration.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=372373
Re: Having problems running 3.7 RCP app in e4 [message #834024 is a reply to message #833570] Sun, 01 April 2012 09:11 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, as I wrote above I've managed to start all my projects - thanks
for great tutorials, Lars.

Brg,
Sergey.

On 2012-03-31 18:15:58 +0000, Lars Vogel said:

> The emf bundles are missing. Please press "Add required" features in
> your product configuration.
>
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=372373
Re: Having problems running 3.7 RCP app in e4 [message #834031 is a reply to message #834024] Sun, 01 April 2012 09:28 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Sounds great Sergey.
Re: Having problems running 3.7 RCP app in e4 [message #1702856 is a reply to message #834031] Sun, 26 July 2015 09:42 Go to previous message
Natalie Mogilka is currently offline Natalie MogilkaFriend
Messages: 27
Registered: August 2010
Location: Kazakhstan, Almaty
Junior Member
Hi guys, could you help me to fix a similar problem?
I worked on Luna until recently and all my e4 projects worked well. I worked under Linux x86, and so JDK7, Eclipse by 32 arch.
Now I migrate to a newer computer with Linux 64 bit. I install both JDK7 either Eclipse Luna 64 bit too. But I can't run my RCP application. Got many error like this:

Quote:
!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.571
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.590
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/renderer/SET].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.591
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/ADD].

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-26 15:22:26.597
!MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET].

and so on...


What does it mean and how to fix it? I created my projects on 4.x Eclipse version

What I tried:

- to put projects to a fresh workspace
- to clear and remake Eclipse product dependences

But I got the same errors

[Updated on: Sun, 26 July 2015 09:59]

Report message to a moderator

Previous Topic:How to use live editor to debug Eclipse IDE
Next Topic:Troubles while migrate Eclipse Luna projects from 32 bit to 64 bit
Goto Forum:
  


Current Time: Thu Apr 25 11:52:42 GMT 2024

Powered by FUDForum. Page generated in 0.04847 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top