|
|
Re: Errors Creating Addons [message #1127155 is a reply to message #1127070] |
Sun, 06 October 2013 10:23 |
Ghislain Mustermann Messages: 24 Registered: April 2013 |
Junior Member |
|
|
Hallo Tom,
i just want to use a pure e4 JavaFX. I follow your tipps and tried to set a new Target Platform for my Project like this : wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4.
Im using Eclipse Kepler and after set the Target Platform i see an Error saying that Quote:You have selected a target with a newer version than your current Eclipse Installation. This can cause unexpected behaviour in PDE. Please use a newer version of eclipse.
And when im running the product.launch : Quote:"org.eclipse.fx.ui.workbench.fx" was unable to instantiate class "org.eclipse.fx.ui.workbench.fx.E4Application".
By the way my Project is build like i already wrote on Google Groups : groups.google.com/forum/#!topic/efxclipse/olNlqcbkhe8.
Thanks
[Updated on: Sun, 06 October 2013 11:07] Report message to a moderator
|
|
|
|
Re: Errors Creating Addons [message #1127215 is a reply to message #1127190] |
Sun, 06 October 2013 11:51 |
Ghislain Mustermann Messages: 24 Registered: April 2013 |
Junior Member |
|
|
Hi Tom,
Yes the Project itself compile (mvn clean install). But when i run it (right click -> run as.. ), it dont show my application anymore and show this error message. Thats happend since i touched the Target Platform in Eclipse Preferences.
Here the Whole Error :
Quote:!ENTRY org.eclipse.equinox.app 4 0 2013-10-06 14:20:51.421
!MESSAGE Plug-in "org.eclipse.fx.ui.workbench.fx" was unable to instantiate class "org.eclipse.fx.ui.workbench.fx.E4Application".
!STACK 0
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.fx.ui.workbench.fx" was unable to instantiate class "org.eclipse.fx.ui.workbench.fx.E4Application".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:186)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException: A null service reference is not allowed.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:586)
at org.eclipse.fx.osgi.util.LoggerCreator.createLogger(LoggerCreator.java:37)
at org.eclipse.fx.ui.workbench.fx.E4Application.<init>(E4Application.java:94)
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 java.lang.Class.newInstance(Class.java:374)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 6 more
Thanks
[Updated on: Sun, 06 October 2013 12:22] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Errors Creating Addons [message #1262391 is a reply to message #1259297] |
Mon, 03 March 2014 15:37 |
Betsy Kramer Messages: 12 Registered: February 2014 |
Junior Member |
|
|
I changed the order to start the ds first and then the core rumtime. This is what I see:
"Framework is launched."
id State Bundle
14 ACTIVE org.eclipse.e4.core.commands_0.10.2.v20131007-1653
46 ACTIVE org.eclipse.core.commands_3.6.100.v20130515-1857
74 ACTIVE org.eclipse.equinox.ds_1.4.200.v20131126-2331
I'm also getting this now which I didn't before. Is there something wrong with my classpath?
MyBundleClassLoader#createJREBundledClassloader - Started
MyBundleClassLoader#createJREBundledClassloader - Assumed location (Java 8/Java 7): /usr/home/ekramer/jdk1.7.0_51/jre/lib/ext/jfxrt.jar
MyBundleClassLoader#createJREBundledClassloader - Assumed location (Java 7): /usr/home/ekramer/jdk1.7.0_51/jre/lib/jfxrt.jar
MyBundleClassLoader#createJREBundledClassloader - Ended
[Updated on: Mon, 03 March 2014 15:58] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07550 seconds