Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Error starting the e4 Media Application sample
Error starting the e4 Media Application sample [message #1840783] Fri, 23 April 2021 15:34 Go to next message
Sven Jacobitz is currently offline Sven JacobitzFriend
Messages: 2
Registered: April 2021
Junior Member
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
Re: Error starting the e4 Media Application sample [message #1840786 is a reply to message #1840783] Fri, 23 April 2021 16:22 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4143
Registered: July 2009
Senior Member

2021-03 requires Java 11.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Error starting the e4 Media Application sample [message #1840789 is a reply to message #1840786] Fri, 23 April 2021 17:15 Go to previous messageGo to next message
Sven Jacobitz is currently offline Sven JacobitzFriend
Messages: 2
Registered: April 2021
Junior Member
Sorry, it's JRE version 8, build 1.8_219.
JDK is v15.0.1.

[Updated on: Fri, 23 April 2021 17:18]

Report message to a moderator

Re: Error starting the e4 Media Application sample [message #1842048 is a reply to message #1840789] Tue, 08 June 2021 08:42 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6609
Registered: July 2009
Senior Member
file an issue and we can take a look but I think we should just remove the sample app
Previous Topic:GEF5 with e4 RCP and Tycho
Next Topic:FXML and CSS autocomplete not working
Goto Forum:
  


Current Time: Thu Dec 02 23:23:29 GMT 2021

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

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

Back to the top