Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Re: javafx.application.Application cannot be found [ Partially resolved]
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810741] Sun, 18 August 2019 22:30 Go to next message
sri pamarti is currently offline sri pamartiFriend
Messages: 19
Registered: August 2015
Junior Member
I'm trying to run the Java FX e4 application and get the following error.
After creating the project I changed the tycho version to 1.3
and add the following vm arguments

VM arguments:
-Dorg.osgi.framework.bundle.parent=ext
-Dosgi.framework.extensions=org.eclipse.fx.osgi
-Defxclipse.java-modules.dir="/⁨Users⁩/sri/software⁩/javafx-sdk-11.0.2⁩/lib"
-Defxclipse.osgi.hook.debug=true

Env details:

Eclipse version 2019-03 (4.11.0)
e(fx) plugin 3.5.0
Open java 11
Open jfx 11


Error trace:
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'org.apache.felix.shell.Command' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@16c069df[org.apache.felix.scr:2.0.14.v20180822-1822(id=15)]
FXClassLoader#getModuleLayer - Use directory '/⁨Users⁩/⁨sri⁩/software⁩/javafx-sdk-11.0.2⁩/lib'
FXClassLoader#getModuleLayer - Inspecting path '/⁨Users⁩/⁨sri⁩/software⁩/javafx-sdk-11.0.2⁩/lib'
FXClassLoader#getSWTClassloader - Fetching SWT-Classloader
FXClassLoader#getSWTClassloader - Done SWT-Classloader
FXClassLoader#getModuleLayer - Parent Classloader: org.eclipse.equinox.launcher.Main$StartupClassLoader@5ce81285
FXClassLoader#advancedModuleLayerBoostrap - Using advanced layer creation to apply patches
JavaModuleLayerModification#applyConfigurations - Source module 'javafx.graphics' is not dynamically loaded. Could not export 'com.sun.javafx.application'.
JavaModuleLayerModification#applyConfigurations - Source module 'javafx.graphics' is not dynamically loaded. Could not export 'com.sun.glass.ui'.
JavaModuleLayerModification#applyConfigurations - Source module 'javafx.graphics' is not dynamically loaded. Could not open 'javafx.scene'.
FXClassLoader#getModuleLayer - Module created: org.eclipse.fx.osgi.fxloader.jpms.ModuleLayerWrapper@74589991
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.application.Application' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@345f69f3[org.eclipse.fx.ui.workbench.fx:3.6.0.201907240201(id=74)]
!SESSION 2019-08-18 16:23:26.170 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -application org.eclipse.fx.ui.workbench.fx.application
Command-line arguments: -application org.eclipse.fx.ui.workbench.fx.application -data /Users/sri/eclipse-workspace-efx/../runtime-JJ.app.product -dev file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.app 4 0 2019-08-18 16:23:27.055
!MESSAGE javafx/application/Application
!STACK 0
java.lang.NoClassDefFoundError: javafx/application/Application
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:279)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:703)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:626)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:594)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:574)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:553)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.eclipse.fx.ui.workbench.fx.E4Application.getJfxApplicationClass(E4Application.java:421)
at org.eclipse.fx.ui.workbench.fx.E4Application.launchE4JavaFxApplication(E4Application.java:406)
at org.eclipse.fx.ui.workbench.fx.E4Application.start(E4Application.java:196)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:29)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application cannot be found by org.eclipse.fx.ui.workbench.fx_3.6.0.201907240201
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more



Also I don't see browse project option when I try to select "Mvn OSGI Launcher". See attached. Not sure if it is still relevant.

[Updated on: Mon, 19 August 2019 16:21]

Report message to a moderator

Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810786 is a reply to message #1810741] Mon, 19 August 2019 16:21 Go to previous messageGo to next message
sri pamarti is currently offline sri pamartiFriend
Messages: 19
Registered: August 2015
Junior Member
Added the following plugins from the repo
http://downloads.efxclipse.bestsolution.at/p2-repos/openjfx-11/
to the target environment and added them as dependencies to the feature project.
That resolved the issue.

However I run into the the following issue.
Help is much appreciated

!SESSION 2019-08-19 11:16:08.180 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -application org.eclipse.fx.ui.workbench.fx.application
Command-line arguments: -application org.eclipse.fx.ui.workbench.fx.application -data /Users/sri/eclipse-workspace-efx/../runtime-JJ.app.product -dev file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.app 4 0 2019-08-19 11:16:09.920
!MESSAGE Exception in Application start method
!STACK 0
java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:applicationXMI argument missing
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:88)
at org.eclipse.fx.ui.workbench.base.AbstractE4Application.loadApplicationModel(AbstractE4Application.java:492)
at org.eclipse.fx.ui.workbench.base.AbstractE4Application.createE4Workbench(AbstractE4Application.java:313)
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 javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810795 is a reply to message #1810786] Mon, 19 August 2019 18:36 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Is it possible that the e4xmi is missing in the build.properties? Or is the bundle not resolved?
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810799 is a reply to message #1810795] Mon, 19 August 2019 19:07 Go to previous messageGo to next message
sri pamarti is currently offline sri pamartiFriend
Messages: 19
Registered: August 2015
Junior Member
Thanks Tom. I check the build.properties, e4.xmi is present. Here is the full trace.
Quote:

bin.includes = .,\
META-INF/,\
plugin.xml,\
css/,\
Application.e4xmi,\
OSGI-INF/

source.. = src/



--- TRACE ---
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'org.apache.felix.shell.Command' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@4c012563[org.apache.felix.scr:2.0.14.v20180822-1822(id=15)]
FXClassLoader#getDeployedJavaModuleBundlePaths - Loading libraries from deployed modules
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.base'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://83.fwk1222768327/javafx.base.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/83/0/.cp/javafx.base.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.controls'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://84.fwk1222768327/javafx.controls.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/84/0/.cp/javafx.controls.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.fxml'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://85.fwk1222768327/javafx.fxml.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/85/0/.cp/javafx.fxml.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.swing'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://88.fwk1222768327/javafx.swing.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/88/0/.cp/javafx.swing.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.swt'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://89.fwk1222768327/javafx.swt.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/89/0/.cp/javafx.swt.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.web'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://90.fwk1222768327/javafx.web.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/90/0/.cp/javafx.web.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.graphics'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://97.fwk1222768327/javafx.graphics.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/97/0/.cp/javafx.graphics.jar
FXClassLoader#getDeployedJavaModuleBundlePaths - Found OSGi-Module with JPMS-Module 'javafx.media'
FXClassLoader#getDeployedJavaModuleBundlePaths - Found Jar 'bundleentry://99.fwk1222768327/javafx.media.jar'
FXClassLoader#getDeployedJavaModuleBundlePaths - Converted URL: file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/99/0/.cp/javafx.media.jar
FXClassLoader#getSWTClassloader - Fetching SWT-Classloader
FXClassLoader#getSWTClassloader - Done SWT-Classloader
FXClassLoader#getModuleLayer - Parent Classloader: org.eclipse.equinox.launcher.Main$StartupClassLoader@5ce81285
FXClassLoader#advancedModuleLayerBoostrap - Using advanced layer creation to apply patches
FXClassLoader#advancedModuleLayerBoostrap - javafx.base => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/83/0/.cp/javafx.base.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.controls => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/84/0/.cp/javafx.controls.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.fxml => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/85/0/.cp/javafx.fxml.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.swing => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/88/0/.cp/javafx.swing.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.swt => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/89/0/.cp/javafx.swt.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.web => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/90/0/.cp/javafx.web.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.graphics => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/97/0/.cp/javafx.graphics.jar
FXClassLoader#advancedModuleLayerBoostrap - javafx.media => /Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/org.eclipse.osgi/99/0/.cp/javafx.media.jar
JavaModuleLayerModification#applyConfigurations - Exporting 'javafx.graphics/com.sun.javafx.application=BUNDLE(@74)'
JavaModuleLayerModification#applyConfigurations - Exporting 'javafx.graphics/com.sun.glass.ui=BUNDLE(@74)'
FXClassLoader#getModuleLayer - Module created: org.eclipse.fx.osgi.fxloader.jpms.ModuleLayerWrapper@ee86bcb
FXClassLoader#getSWTClassloader - Fetching SWT-Classloader
FXClassLoader#getSWTClassloader - Done SWT-Classloader
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.application.Application' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@479460a6[org.eclipse.fx.ui.workbench.fx:3.6.0.201907240201(id=74)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.application.Application - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.beans.value.ChangeListener' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38604b81[org.eclipse.fx.core:3.6.0.201907240201(id=54)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - interface javafx.beans.value.ChangeListener - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.event.ActionEvent' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@291f18[org.eclipse.fx.ui.controls:3.6.0.201907240201(id=61)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.event.ActionEvent - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@7aaca91a[org.eclipse.emf.common:2.15.0.v20180723-1316(id=38)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@573906eb[org.eclipse.emf.ecore:2.15.0.v20180722-1159(id=40)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@282cb7c7[org.eclipse.e4.ui.model.workbench:2.1.100.v20180904-1914(id=35)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@7a220c9a[org.eclipse.fx.ui.workbench.renderers.fx:3.6.0.201907240201(id=76)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@479460a6[org.eclipse.fx.ui.workbench.fx:3.6.0.201907240201(id=74)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@21ba0741[org.eclipse.fx.ui.workbench.services:3.6.0.201907240201(id=78)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@68dc098b[org.eclipse.emf.ecore.change:2.13.0.v20180706-1146(id=41)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@4278284b[org.eclipse.e4.emf.xpath:0.2.200.v20180828-0227(id=33)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@5be46f9d[org.eclipse.fx.ui.workbench.renderers.base:3.6.0.201907240201(id=75)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@3e6104fc[org.eclipse.fx.ui.workbench.base:3.6.0.201907240201(id=73)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@413f69cc[org.eclipse.fx.ui.keybindings.e4:3.6.0.201907240201(id=68)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@2141a12[org.eclipse.emf.databinding:1.5.0.v20180706-1146(id=39)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'com.ibm.icu.text.Collator' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@4e423aa2[org.eclipse.emf.ecore.xmi:2.15.0.v20180706-1146(id=42)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - null - ended

FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.Node' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@6c4980d3[org.eclipse.fx.ui.services:3.6.0.201907240201(id=71)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.Node - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.layout.AnchorPane' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@6c4980d3[org.eclipse.fx.ui.services:3.6.0.201907240201(id=71)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.layout.AnchorPane - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.Node' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@479460a6[org.eclipse.fx.ui.workbench.fx:3.6.0.201907240201(id=74)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.Node - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.image.ImageView' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@479460a6[org.eclipse.fx.ui.workbench.fx:3.6.0.201907240201(id=74)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.image.ImageView - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.image.Image' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@479460a6[org.eclipse.fx.ui.workbench.fx:3.6.0.201907240201(id=74)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.image.Image - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.control.Control' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@291f18[org.eclipse.fx.ui.controls:3.6.0.201907240201(id=61)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.control.Control - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.layout.StackPane' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@291f18[org.eclipse.fx.ui.controls:3.6.0.201907240201(id=61)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.layout.StackPane - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.image.Image' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@6c4980d3[org.eclipse.fx.ui.services:3.6.0.201907240201(id=71)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.image.Image - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.collections.ListChangeListener$Change' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.collections.ListChangeListener$Change - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.scene.Scene' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.scene.Scene - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.beans.Observable' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - interface javafx.beans.Observable - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.collections.ObservableMap' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - interface javafx.collections.ObservableMap - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.collections.FXCollections' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - class javafx.collections.FXCollections - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.collections.ObservableList' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - interface javafx.collections.ObservableList - ended
FXClassLoader#findClassJavaFX11 - started
FXClassLoader#findClassJavaFX11 - Loading class 'javafx.collections.ListChangeListener' for org.eclipse.osgi.internal.loader.EquinoxClassLoader@38b27cdc[org.eclipse.fx.ui.theme:3.6.0.201907240201(id=72)]
FXClassLoader#findClassJavaFX11 - Using classloader org.eclipse.fx.osgi.fxloader.FXClassLoader$1@6ccdb29f
FXClassLoader#findClassJavaFX11 - interface javafx.collections.ListChangeListener - ended
Exception in Application start method
!SESSION 2019-08-19 14:02:37.249 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -application org.eclipse.fx.ui.workbench.fx.application
Command-line arguments: -application org.eclipse.fx.ui.workbench.fx.application -data /Users/sri/eclipse-workspace-efx/../runtime-JJ.app.product -dev file:/Users/sri/eclipse-workspace-efx/.metadata/.plugins/org.eclipse.pde.core/JJ.app.product.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.app 4 0 2019-08-19 14:02:39.345
!MESSAGE Exception in Application start method
!STACK 0
java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:applicationXMI argument missing
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:88)
at org.eclipse.fx.ui.workbench.base.AbstractE4Application.loadApplicationModel(AbstractE4Application.java:492)
at org.eclipse.fx.ui.workbench.base.AbstractE4Application.createE4Workbench(AbstractE4Application.java:313)
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 javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810800 is a reply to message #1810799] Mon, 19 August 2019 19:15 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
So is this in an exported application or inside eclipse?
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810801 is a reply to message #1810800] Mon, 19 August 2019 19:16 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Launch with -noexit and inspect the bundles. Does your Application.e4xmi contain at least 1 window?
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810803 is a reply to message #1810801] Mon, 19 August 2019 19:47 Go to previous messageGo to next message
sri pamarti is currently offline sri pamartiFriend
Messages: 19
Registered: August 2015
Junior Member
Hi Tom,
I followed these steps.
1. Created a new JavaFX-> OSGI -> e4 Application Projects
2. Updated tycho version and pom.xml according to wiki
3. Updated target runtime to include openjfx libraries so I can add those plugins to the feature.
4. Run the product definition within eclipse.

I didn't create any windows. I'm using the feature ( with updated plugins ) that was generated in Step #1 above.

Thanks
Re: javafx.application.Application cannot be found [ Partially resolved] [message #1810805 is a reply to message #1810803] Mon, 19 August 2019 20:25 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Yeah but that Application.e4xmi has no window definition. BTW you should run the generated launch config!
Previous Topic:XML file is created on Windows desktop
Next Topic:How is the process to announce new efxclipse releases?
Goto Forum:
  


Current Time: Thu Dec 12 18:16:27 GMT 2024

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

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

Back to the top