Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Component definition XMLs not found in bundle org.eclipse.fx.ui.di(Strange error message)
Component definition XMLs not found in bundle org.eclipse.fx.ui.di [message #1431134] Thu, 25 September 2014 08:54 Go to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
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 #1431137 is a reply to message #1431134] Thu, 25 September 2014 08:58 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Hm - I moved the logger implementation to the core.di bundle maybe I
missed build.properties stuff.

Tom

On 25.09.14 10:54, Thomas Elskens wrote:
> 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 #1431145 is a reply to message #1431137] Thu, 25 September 2014 09:11 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Ok - i forgot to remove the component entry in ui.di so that explains

>> !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

but it does NOT explain the missing of now new supplier in
org.eclipse.fx.core.di.context - can you check that this bundle is your
launch config?

A new build has been running and I get back once it is done. Sorry for
the bug and thanks for posting!

Tom

On 25.09.14 10:58, Tom Schindl wrote:
> Hi,
>
> Hm - I moved the logger implementation to the core.di bundle maybe I
> missed build.properties stuff.
>
> Tom
>
> On 25.09.14 10:54, Thomas Elskens wrote:
>> 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 #1431157 is a reply to message #1431145] Thu, 25 September 2014 09:27 Go to previous messageGo to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
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
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 09:44 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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
Previous Topic:Difficulty contributing CSS files
Next Topic:Newbie Needs Help Plz!!!
Goto Forum:
  


Current Time: Thu Mar 28 10:06:02 GMT 2024

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

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

Back to the top