Component definition XMLs not found in bundle org.eclipse.fx.ui.di [message #1431134] |
Thu, 25 September 2014 04:54  |
Eclipse User |
|
|
|
I get the following error message when trying to lauch my applicaton (yesterday everything went fine - today I've only added some more controls to my project ?)
Anybody any idea what this error stack means ... ?
!SESSION 2014-09-25 10:32:11.968 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product be.groups.kernel.prestanew.portefeuilleclients.app.product -clearPersistedState
Command-line arguments: -product be.groups.kernel.prestanew.portefeuilleclients.app.product -data C:\workspace\SignaletiqueFX/../runtime-be.groups.kernel.prestanew.portefeuilleclients.app.product -dev file:C:/workspace/SignaletiqueFX/.metadata/.plugins/org.eclipse.pde.core/be.groups.kernel.prestanew.portefeuilleclients.app.product.product/dev.properties -consoleLog -clearPersistedState
!ENTRY org.eclipse.fx.ui.di 4 0 2014-09-25 10:32:13.499
!MESSAGE [SCR] Component definition XMLs not found in bundle org.eclipse.fx.ui.di. The component header value is OSGI-INF/loggersupplier.xml
!ENTRY org.eclipse.fx.ui.di 4 0 2014-09-25 10:32:13.501
!MESSAGE [SCR] Component definition XMLs not found in bundle org.eclipse.fx.ui.di. The component header value is OSGI-INF/loggersupplier.xml
!ENTRY org.eclipse.fx.ui.di 4 0 2014-09-25 10:32:13.502
!MESSAGE [SCR] Component definition XMLs not found in bundle org.eclipse.fx.ui.di. The component header value is OSGI-INF/loggersupplier.xml
!ENTRY org.eclipse.fx.ui.di 4 0 2014-09-25 10:32:13.503
!MESSAGE [SCR] Component definition XMLs not found in bundle org.eclipse.fx.ui.di. The component header value is OSGI-INF/loggersupplier.xml
Exception in Application start method
!ENTRY org.eclipse.equinox.app 4 0 2014-09-25 10:32:15.550
!MESSAGE Exception in Application start method
!STACK 0
java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)
at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.e4.core.di.InjectionException: Unable to process "UISynchronizeImpl.logger": no actual value was found for the argument "Logger[@org.eclipse.fx.core.log.Log(value=)]".
at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:416)
at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:407)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:109)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.fx.ui.workbench.fx.E4Application.createSynchronizer(E4Application.java:318)
at org.eclipse.fx.ui.workbench.base.AbstractE4Application.createE4Workbench(AbstractE4Application.java:172)
at org.eclipse.fx.ui.workbench.fx.E4Application.initE4Workbench(E4Application.java:261)
at org.eclipse.fx.ui.workbench.fx.E4Application$1.run(E4Application.java:135)
at org.eclipse.fx.ui.workbench.fx.E4Application.jfxStart(E4Application.java:178)
at org.eclipse.fx.ui.workbench.fx.DefaultJFXApp.start(DefaultJFXApp.java:57)
at com.sun.javafx.application.LauncherImpl$8.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$7.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$6.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(Unknown Source)
at com.sun.glass.ui.win.WinApplication$4$1.run(Unknown Source)
... 1 more
|
|
|
|
|
|
Re: Component definition XMLs not found in bundle org.eclipse.fx.ui.di [message #1431168 is a reply to message #1431157] |
Thu, 25 September 2014 05:44  |
Eclipse User |
|
|
|
Hi,
I think they have never been hard dependency for e4 so they have not
been required.
The build is done and now ui.di has the dependency on core.di &
di.context so things should now operate appropriately.
core.di has some cool features including @ContextValue, @Adapt and
ScopedObjectFactory who when used free you from dependencies on
org.eclipse.core.di & di.context and give you e.g. automatic enablement
for toolbar and menus ;-)
See https://wiki.eclipse.org/Efxclipse/Runtime/Recipes for examples and
my blog about
http://tomsondev.bestsolution.at/2013/11/21/what-ieclipsecontextdeclaremodifiable-is-good-for/
and
http://tomsondev.bestsolution.at/2013/11/21/writing-ieclipsecontext-less-code/
Tom
On 25.09.14 11:27, Thomas Elskens wrote:
> Tom,
>
> Thanks for answering. I added the bundles org.eclipse.fx.core.di and
> org.eclipse.core.di.context to my feature.xml and now the error message
> is much shorter and only a warning :
>
> java.version=1.8.0_05
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments: -product
> be.groups.kernel.prestanew.portefeuilleclients.app.product
> -clearPersistedState
> Command-line arguments: -product
> be.groups.kernel.prestanew.portefeuilleclients.app.product -data
> C:\workspace\SignaletiqueFX/../runtime-be.groups.kernel.prestanew.portefeuilleclients.app.product
> -dev
> file:C:/workspace/SignaletiqueFX/.metadata/.plugins/org.eclipse.pde.core/be.groups.kernel.prestanew.portefeuilleclients.app.product.product/dev.properties
> -consoleLog -clearPersistedState
>
> !ENTRY org.eclipse.fx.ui.di 4 0 2014-09-25 11:23:27.151
> !MESSAGE [SCR] Component definition XMLs not found in bundle
> org.eclipse.fx.ui.di. The component header value is
> OSGI-INF/loggersupplier.xml
>
> !ENTRY org.eclipse.fx.ui.di 4 0 2014-09-25 11:23:27.153
> !MESSAGE [SCR] Component definition XMLs not found in bundle
> org.eclipse.fx.ui.di. The component header value is
> OSGI-INF/loggersupplier.xml
>
> I don't know how I managed to drop out this bundles ? Anyhow, everything
> seems to work now.
> Thanks a lot,
>
> Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.04461 seconds