Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Problem running E4/e(fx)clipse on iMac(New problem running E4/e(fx)clipse application on iMac running Mavericks)
icon9.gif  Problem running E4/e(fx)clipse on iMac [message #1254704] Sun, 23 February 2014 18:19 Go to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
I am developing an eclipse 4 application with JavaFX on my iMac, which is running Mavericks (OS X 10.9). I have eclipse 4.3 (Kepler) and Java 7 (1.7.0_45-b18) installed. I also have e(fx)clipse installed (0.9.0). Is this mix of software versions correct for my set-up and do they work with each other? I ask, because I have been working on this for several weeks now and I was successfully going along. Today, I must have done something (although I can't figure out what), because now I get errors I never got before. I even went through the process of uninstalling the extra plug-ins and reinstalling them. I will list out the specifics below.

Java version:

java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Eclipse installation details:

e(fx)clipse - IDE - Kepler 0.9.0.201401250805 org.eclipse.fx.ide.all.kepler.feature.feature.group BestSolution.at
e(fx)clipse - IDE - Basic 0.9.0.201401250805 org.eclipse.fx.ide.basic.feature.feature.group BestSolution.at
e(fx)clipse - IDE - Converter 0.9.0.201401250805 org.eclipse.fx.ide.converter.feature.feature.group BestSolution.at
e(fx)clipse - IDE - CSS 0.9.0.201401250805 org.eclipse.fx.ide.css.feature.feature.group BestSolution.at
e(fx)clipse - IDE - FXGraph 0.9.0.201401250805 org.eclipse.fx.ide.fxgraph.feature.feature.group BestSolution.at
e(fx)clipse - IDE - FXML 0.9.0.201401250805 org.eclipse.fx.ide.fxml.feature.feature.group BestSolution.at
e(fx)clipse - IDE - Mobile 0.9.0.201401250805 org.eclipse.fx.ide.mobile.feature.feature.group BestSolution.at
e(fx)clipse - IDE - PDE 0.9.0.201401250805 org.eclipse.fx.ide.pde.feature.feature.group BestSolution.at
e(fx)clipse - IDE - RRobot 0.9.0.201401250805 org.eclipse.fx.ide.rrobot.feature.feature.group BestSolution.at
Eclipse e4 Tools (Incubation) 0.14.0.v20140116-1126 org.eclipse.e4.core.tools.feature.feature.group Eclipse.org
Eclipse e4 Tools Source (Incubation) 0.14.0.v20140116-1126 org.eclipse.e4.core.tools.feature.source.feature.group Eclipse.org
Eclipse for RCP and RAP Developers 2.0.1.20130919-0803 epp.package.rcp null
Eclipse Platform 4.3.1.M20130911-1000 org.eclipse.platform.ide null
EPP RCP/RAP Feature 2.0.1.20130919-0803 org.eclipse.epp.package.rcp.feature.feature.group Eclipse Packaging Project

The installation sites:

target platform:
http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site

e(fx)clipse:
http://download.eclipse.org/efxclipse/updates-nightly/site

I know a point of confusion for me is the correct site(s) to be using for e(fx)clipse.


OK, here is the error I get when I run the E4 product:

!SESSION 2014-02-23 12:52:53.098 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product cf531.app.product -clearPersistedState
Command-line arguments: -product cf531.app.product -data /Users/josephgagnon/Documents/workspace/CF531/../runtime-cf531.app.product.product -dev file:/Users/josephgagnon/Documents/workspace/CF531/.metadata/.plugins/org.eclipse.pde.core/cf531.app.product.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -clearPersistedState

!ENTRY org.eclipse.osgi 4 0 2014-02-23 12:52:58.834
!MESSAGE error loading hook: org.eclipse.fx.osgi.fxloader.FXClassloaderConfigurator
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/osgi/internal/hookregistry/HookConfigurator
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:176)
at org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:738)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:259)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.internal.hookregistry.HookConfigurator
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 31 more

!ENTRY org.eclipse.equinox.app 4 0 2014-02-23 12:53:03.008
!MESSAGE javafx/application/Application
!STACK 0
java.lang.NoClassDefFoundError: javafx/application/Application
at org.eclipse.fx.osgi.util.AbstractJFXApplication.start(AbstractJFXApplication.java:81)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application cannot be found by org.eclipse.fx.osgi.util_0.9.0.201401250701
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 4 more
Re: Problem running E4/e(fx)clipse on iMac [message #1255192 is a reply to message #1254704] Mon, 24 February 2014 07:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

The problem you report has been reported already multiple times. It
looks like the hooks that get loaded are the one from Kepler whereas
your target is based on Luna because you are using "updates-nightly"!

I think the problem has to do with caching in Equinox/PDE so I'd make
sure that the configuration area is cleared (In your Run Configuration
on Tab Configuration "clear the configuration area before launching")

The more severe problem is that the nightlies do NOT support Java7
anymore - see announcement on this newsgroup.

The update site for the target you have to use is
http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site!

Tom

On 23.02.14 19:19, Joseph Gagnon wrote:
> I am developing an eclipse 4 application with JavaFX on my iMac, which
> is running Mavericks (OS X 10.9). I have eclipse 4.3 (Kepler) and Java 7
> (1.7.0_45-b18) installed. I also have e(fx)clipse installed (0.9.0). Is
> this mix of software versions correct for my set-up and do they work
> with each other? I ask, because I have been working on this for several
> weeks now and I was successfully going along. Today, I must have done
> something (although I can't figure out what), because now I get errors I
> never got before. I even went through the process of uninstalling the
> extra plug-ins and reinstalling them. I will list out the specifics below.
>
> Java version:
>
> java -version
> java version "1.7.0_45"
> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>
> Eclipse installation details:
>
> e(fx)clipse - IDE - Kepler 0.9.0.201401250805
> org.eclipse.fx.ide.all.kepler.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - Basic 0.9.0.201401250805
> org.eclipse.fx.ide.basic.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - Converter 0.9.0.201401250805
> org.eclipse.fx.ide.converter.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - CSS 0.9.0.201401250805
> org.eclipse.fx.ide.css.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - FXGraph 0.9.0.201401250805
> org.eclipse.fx.ide.fxgraph.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - FXML 0.9.0.201401250805
> org.eclipse.fx.ide.fxml.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - Mobile 0.9.0.201401250805
> org.eclipse.fx.ide.mobile.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - PDE 0.9.0.201401250805
> org.eclipse.fx.ide.pde.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - RRobot 0.9.0.201401250805
> org.eclipse.fx.ide.rrobot.feature.feature.group BestSolution.at
> Eclipse e4 Tools (Incubation) 0.14.0.v20140116-1126
> org.eclipse.e4.core.tools.feature.feature.group Eclipse.org
> Eclipse e4 Tools Source (Incubation) 0.14.0.v20140116-1126
> org.eclipse.e4.core.tools.feature.source.feature.group Eclipse.org
> Eclipse for RCP and RAP Developers 2.0.1.20130919-0803
> epp.package.rcp null
> Eclipse Platform 4.3.1.M20130911-1000
> org.eclipse.platform.ide null
> EPP RCP/RAP Feature 2.0.1.20130919-0803
> org.eclipse.epp.package.rcp.feature.feature.group Eclipse Packaging
> Project
>
> The installation sites:
>
> target platform:
> http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
>
> e(fx)clipse:
> http://download.eclipse.org/efxclipse/updates-nightly/site
>
> I know a point of confusion for me is the correct site(s) to be using
> for e(fx)clipse.
>
>
> OK, here is the error I get when I run the E4 product:
>
> !SESSION 2014-02-23 12:52:53.098
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product cf531.app.product -clearPersistedState
> Command-line arguments: -product cf531.app.product -data
> /Users/josephgagnon/Documents/workspace/CF531/../runtime-cf531.app.product.product
> -dev
> file:/Users/josephgagnon/Documents/workspace/CF531/.metadata/.plugins/org.eclipse.pde.core/cf531.app.product.product/dev.properties
> -os macosx -ws cocoa -arch x86_64 -consoleLog -clearPersistedState
>
> !ENTRY org.eclipse.osgi 4 0 2014-02-23 12:52:58.834
> !MESSAGE error loading hook:
> org.eclipse.fx.osgi.fxloader.FXClassloaderConfigurator
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/osgi/internal/hookregistry/HookConfigurator
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at
> org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:176)
>
> at
> org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
> at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:738)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:259)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.osgi.internal.hookregistry.HookConfigurator
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 31 more
>
> !ENTRY org.eclipse.equinox.app 4 0 2014-02-23 12:53:03.008
> !MESSAGE javafx/application/Application
> !STACK 0
> java.lang.NoClassDefFoundError: javafx/application/Application
> at
> org.eclipse.fx.osgi.util.AbstractJFXApplication.start(AbstractJFXApplication.java:81)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
>
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.ClassNotFoundException:
> javafx.application.Application cannot be found by
> org.eclipse.fx.osgi.util_0.9.0.201401250701
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 4 more
>
Re: Problem running E4/e(fx)clipse on iMac [message #1258979 is a reply to message #1255192] Thu, 27 February 2014 23:52 Go to previous messageGo to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
OK, so I removed the "nightly" target version and replaced it with the one from .../runtime-released/0.9.0/site. What address/site do I need to go to in order to install the e(fx)clipse IDE plug-in for eclipse? I was using http://download.eclipse.org/efxclipse/updates-nightly/site, but that's geared for Luna, not Kepler.
Re: Problem running E4/e(fx)clipse on iMac [message #1258986 is a reply to message #1258979] Fri, 28 February 2014 00:04 Go to previous messageGo to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
OK, I went to http://download.eclipse.org/efxclipse/updates-released/0.9.0/site to get the plug-in installer.
Re: Problem running E4/e(fx)clipse on iMac [message #1258993 is a reply to message #1258986] Fri, 28 February 2014 00:12 Go to previous messageGo to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
... However, it's still not running (and I made sure to check the options to clear the workspace and configuration area):

!SESSION 2014-02-27 19:06:29.827 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product cf531.app.product -clearPersistedState
Command-line arguments: -product cf531.app.product -data /Users/josephgagnon/Documents/workspace/CF531/../runtime-cf531.app.product.product -dev file:/Users/josephgagnon/Documents/workspace/CF531/.metadata/.plugins/org.eclipse.pde.core/cf531.app.product.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -clearPersistedState

!ENTRY org.eclipse.osgi 4 0 2014-02-27 19:06:30.348
!MESSAGE error loading hook: org.eclipse.fx.osgi.fxloader.FXClassloaderConfigurator
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/osgi/internal/hookregistry/HookConfigurator
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:176)
at org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:738)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:259)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.internal.hookregistry.HookConfigurator
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 31 more

!ENTRY org.eclipse.osgi 2 0 2014-02-27 19:06:32.384
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-02-27 19:06:32.385
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.fx.osgi_1.0.0.201402230702.jar was not resolved.
!SUBENTRY 2 org.eclipse.fx.osgi 2 0 2014-02-27 19:06:32.385
!MESSAGE Missing host org.eclipse.osgi_3.10.0.

!ENTRY org.eclipse.osgi 2 0 2014-02-27 19:06:32.387
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-02-27 19:06:32.387
!MESSAGE Bundle org.eclipse.fx.osgi_1.0.0.201402230702 [1] was not resolved.
!SUBENTRY 2 org.eclipse.fx.osgi 2 0 2014-02-27 19:06:32.388
!MESSAGE Missing host org.eclipse.osgi_3.10.0.

!ENTRY org.eclipse.equinox.app 4 0 2014-02-27 19:06:32.489
!MESSAGE javafx/application/Application
!STACK 0
java.lang.NoClassDefFoundError: javafx/application/Application
at org.eclipse.fx.osgi.util.AbstractJFXApplication.start(AbstractJFXApplication.java:81)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application cannot be found by org.eclipse.fx.osgi.util_0.9.0.201401250701
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 4 more



It looks as though something is still trying to use the 1.0.0 version of e(fx)clipse runtime.
Re: Problem running E4/e(fx)clipse on iMac [message #1259314 is a reply to message #1258993] Fri, 28 February 2014 08:41 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The log still tells us that you are running with 1.0.0 of e(fx)clipse!

> !ENTRY org.eclipse.osgi 2 0 2014-02-27 19:06:32.384
> !MESSAGE One or more bundles are not resolved because the following
root constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2014-02-27 19:06:32.385
> !MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.fx.osgi_1.0.0.201402230702.jar was
not resolved.
> !SUBENTRY 2 org.eclipse.fx.osgi 2 0 2014-02-27 19:06:32.385
> !MESSAGE Missing host org.eclipse.osgi_3.10.0.


Tom

On 28.02.14 01:12, Joseph Gagnon wrote:
> .. However, it's still not running (and I made sure to check the options
> to clear the workspace and configuration area):
>
> !SESSION 2014-02-27 19:06:29.827
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product cf531.app.product -clearPersistedState
> Command-line arguments: -product cf531.app.product -data
> /Users/josephgagnon/Documents/workspace/CF531/../runtime-cf531.app.product.product
> -dev
> file:/Users/josephgagnon/Documents/workspace/CF531/.metadata/.plugins/org.eclipse.pde.core/cf531.app.product.product/dev.properties
> -os macosx -ws cocoa -arch x86_64 -consoleLog -clearPersistedState
>
> !ENTRY org.eclipse.osgi 4 0 2014-02-27 19:06:30.348
> !MESSAGE error loading hook:
> org.eclipse.fx.osgi.fxloader.FXClassloaderConfigurator
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/osgi/internal/hookregistry/HookConfigurator
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at
> org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:176)
>
> at
> org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
> at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:738)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:259)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.osgi.internal.hookregistry.HookConfigurator
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 31 more
>
> !ENTRY org.eclipse.osgi 2 0 2014-02-27 19:06:32.384
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2014-02-27 19:06:32.385
> !MESSAGE Bundle
> initial@reference:file:plugins/org.eclipse.fx.osgi_1.0.0.201402230702.jar was
> not resolved.
> !SUBENTRY 2 org.eclipse.fx.osgi 2 0 2014-02-27 19:06:32.385
> !MESSAGE Missing host org.eclipse.osgi_3.10.0.
>
> !ENTRY org.eclipse.osgi 2 0 2014-02-27 19:06:32.387
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2014-02-27 19:06:32.387
> !MESSAGE Bundle org.eclipse.fx.osgi_1.0.0.201402230702 [1] was not
> resolved.
> !SUBENTRY 2 org.eclipse.fx.osgi 2 0 2014-02-27 19:06:32.388
> !MESSAGE Missing host org.eclipse.osgi_3.10.0.
>
> !ENTRY org.eclipse.equinox.app 4 0 2014-02-27 19:06:32.489
> !MESSAGE javafx/application/Application
> !STACK 0
> java.lang.NoClassDefFoundError: javafx/application/Application
> at
> org.eclipse.fx.osgi.util.AbstractJFXApplication.start(AbstractJFXApplication.java:81)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
>
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.ClassNotFoundException:
> javafx.application.Application cannot be found by
> org.eclipse.fx.osgi.util_0.9.0.201401250701
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 4 more
>
>
> It looks as though something is still trying to use the 1.0.0 version of
> e(fx)clipse runtime.
Re: Problem running E4/e(fx)clipse on iMac [message #1267311 is a reply to message #1259314] Sat, 08 March 2014 20:50 Go to previous messageGo to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
I'm at a loss to explain why it still shows the 1.0.0 version. I have checked everywhere I can think of and it shows version 0.9.0. I have removed the run configuration and started a new one (with the options to clear the workspace and configuration checked). It makes no difference. There must be a cache somewhere that I don't know about that still contains the old info. If you provide me with a list of items to inspect, I will check into them.

Here is the configuration (as I know it) again for reference:

Mac OS X 10.9.1
Eclipse Kepler (4.3.0)
Java 7 SDK (1.7.0_45)
e(fx)clipse plug-in 0.9.0.201401250805 from http://download.eclipse.org/efxclipse/updates-released/0.9.0/site

target platform
e(fx)clipse runtime 0.9.0.201401250701 from http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site

I'd like to include the contents of various config files, but that takes up too much space and I can't include attachments.
Re: Problem running E4/e(fx)clipse on iMac [message #1267714 is a reply to message #1267311] Sun, 09 March 2014 12:42 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The only solution i'd have:
a) create a completely new workspace
b) create a completely new target setting
c) import the projects from the old workspace

Tom

On 08.03.14 21:50, Joseph Gagnon wrote:
> I'm at a loss to explain why it still shows the 1.0.0 version. I have
> checked everywhere I can think of and it shows version 0.9.0. I have
> removed the run configuration and started a new one (with the options to
> clear the workspace and configuration checked). It makes no difference.
> There must be a cache somewhere that I don't know about that still
> contains the old info. If you provide me with a list of items to
> inspect, I will check into them.
>
> Here is the configuration (as I know it) again for reference:
>
> Mac OS X 10.9.1
> Eclipse Kepler (4.3.0)
> Java 7 SDK (1.7.0_45)
> e(fx)clipse plug-in 0.9.0.201401250805 from
> http://download.eclipse.org/efxclipse/updates-released/0.9.0/site
>
> target platform
> e(fx)clipse runtime 0.9.0.201401250701 from
> http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
>
> I'd like to include the contents of various config files, but that takes
> up too much space and I can't include attachments.
>
Previous Topic:Exception when running demo application
Next Topic:Cleaning up controller instances attached to MParts in an E4 application
Goto Forum:
  


Current Time: Thu Apr 18 01:05:00 GMT 2024

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

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

Back to the top