Error starting the e4 Media Application sample [message #1840783] |
Fri, 23 April 2021 11:34  |
Eclipse User |
|
|
|
I tried to create an e4 JavaFX application by using the e4 Media Application sample from the latest version of e(fx)clipse. I followed the description of tutorial 3.
I got the following configuration:
Eclipse version: 2021-03
Java Version: 1.8
JavaFX (openJFX) Version: 11.0.2
E(fx)clipse Version: 3.7.0
Launching the product, I got the following error:
Exception in Application start method
!SESSION 2021-04-23 17:19:34.700 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_281
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product my.test.product
Command-line arguments: -product my.test.product -data C:\Users\jacobitz\eclipse-workspace_con_2021/../runtime-my.test.product -dev file:C:/Users/jacobitz/eclipse-workspace_con_2021/.metadata/.plugins/org.eclipse.pde.core/my.test.product.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.app 4 0 2021-04-23 17:19:35.878
!MESSAGE Exception in Application start method
!STACK 0
java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182)
at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.e4.core.di.InjectionException: Unable to process "GraphicsLoaderImpl.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:485)
at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:476)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:128)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:408)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:331)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
at org.eclipse.fx.ui.workbench.fx.E4Application.preLifecycle(E4Application.java:285)
at org.eclipse.fx.ui.workbench.base.AbstractE4Application.createE4Workbench(AbstractE4Application.java:277)
at org.eclipse.fx.ui.workbench.fx.E4Application.initE4Workbench(E4Application.java:383)
at org.eclipse.fx.ui.workbench.fx.E4Application$1.run(E4Application.java:232)
at org.eclipse.fx.ui.workbench.fx.E4Application.jfxStart(E4Application.java:271)
at org.eclipse.fx.ui.workbench.fx.DefaultJFXApp.start(DefaultJFXApp.java:60)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
... 1 more
I tired to ask google, but there are no helping results. I only found, that I may register the logger befor graphical startup but not where and how.
I would be very happy for some help.
Thanks
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03306 seconds