Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Trying to create an e4 only application with JavaFX
Trying to create an e4 only application with JavaFX [message #1705878] Wed, 19 August 2015 18:20 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Eclipse for RCP and RAP Developers
Version: Mars Release (4.5.0)
Build id: 20150621-1200

I am trying to develop a band new e4 application using JavaFX. I started off by making the mistake of using the 3.x templates. New -> Plug-in Project -> (Eclipse version 3.5 or greater) -> (This plug-in with make contributions to the UI)-> JavaFX Eclipse 3.x RCP. One thing I was able to do was open my UI drawing by returning a ScrollPane() from the createFxScene() method.

Since I have now realized my mistake I am using the New -> Other -> JavaFX -> OSGi -> e4Application projects as a base set of bundles.
{name}.app.
{name}.app.feature
{name}.app.product
{name}.app.releng

Since I continue to struggle I want to confirm I am going about this the correct way. For now all I want to create is a e4 RCP window split horizontally. The top pane will be pannable(click & drag) & zoomable(mouse wheel) with scroll bars. Each geometric node in the UI drawing has a mouse click listener to bring up a context popup menu (got this working in 3.x). The pop-up menu selection will build the appropriate properties panel in the bottom pane. If appropriate properties panel is already in the bottom pane give it focus.

After configuring the e4 modle with two Parts I am getting the following error when trying to run it from the "Launch an Eclipse application" link of the .product file.

package packarge.twobox.views.parts;

import javax.inject.Inject;
import javax.annotation.PostConstruct;
import javafx.scene.layout.BorderPane;

public class TopBox {
	@Inject
	public TopBox() {
		System.out.println("In class TopBox in constructor.");
	}
	
	@PostConstruct
	public void postConstruct(BorderPane parent) {
		System.out.println("In class TopBox in postConstruct() method.");
	}
	
}




package packarge.twobox.views.parts;

import javax.inject.Inject;
import javafx.scene.layout.BorderPane;
import javax.annotation.PostConstruct;

public class BottomBox {
	@Inject
	public BottomBox() {
		System.out.println("In class BottomBox in constructor.");
	}
	
	@PostConstruct
	public void postConstruct(BorderPane parent) {
		System.out.println("In class BottomBox in postConstruct() method.");
	}
}





!SESSION 2015-08-19 13:35:56.660 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product twoobox.app.product
Command-line arguments:  -product twoobox.app.product -data C:\EWS\sandbox00/../runtime-twoobox.app.product -dev file:C:/EWS/sandbox00/.metadata/.plugins/org.eclipse.pde.core/twoobox.app.product.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 13:35:58.104
!MESSAGE Could not bind a reference of component org.eclipse.fx.core.internal.JUtilLoggerFactory. The reference is: Reference[name = registerHandler, interface = java.util.logging.Handler, policy = dynamic, policy-option = greedy, cardinality = 0..n, target = null, bind = registerHandler, unbind = unregisterHandler, updated = null]

!ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 13:35:58.704
!MESSAGE Could not bind a reference of component twoobox.app.themes.default. The reference is: Reference[name = Stylesheet, interface = org.eclipse.fx.ui.services.theme.Stylesheet, policy = dynamic, cardinality = 0..n, target = null, bind = registerStylesheet, unbind = unregisterStylesheet]
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding
Invalid type stored in transient data with the key binding

!ENTRY org.eclipse.equinox.event 4 0 2015-08-19 13:36:00.057
!MESSAGE Exception while dispatching event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/UIElement/widget/SET] {ChangedElement=org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@42acdb8f (elementId: twoobox.app.trimmedwindow.0, tags: [], contributorURI: platform:/plugin/twoobox.app) (widget: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl@219bdf11, renderer: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer@13016ffb, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, context: TrimmedWindowImpl (twoobox.app.trimmedwindow.0) Context, variables: [], x: 135, y: 52, width: 960, height: 718), Widget=org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl@219bdf11, AttName=widget, NewValue=org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl@219bdf11, EventType=SET} to handler org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler@4a419798
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl cannot be cast to org.eclipse.swt.widgets.Widget
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
	at org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler$1.run(UIEventObjectSupplier.java:56)
	at org.eclipse.fx.ui.workbench.fx.internal.UISynchronizeImpl.syncExec(UISynchronizeImpl.java:88)
	at org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler.handleEvent(UIEventObjectSupplier.java:53)
	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
	at org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setWidget(UIElementImpl.java:261)
	at org.eclipse.fx.ui.workbench.renderers.base.BaseRenderer.bindWidget(BaseRenderer.java:547)
	at org.eclipse.fx.ui.workbench.renderers.base.BaseRenderer.bindWidget(BaseRenderer.java:1)
	at org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.createWidget(PartRenderingEngine.java:247)
	at org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.createGui(PartRenderingEngine.java:211)
	at org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.createGui(PartRenderingEngine.java:311)
	at org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.run(PartRenderingEngine.java:439)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
	at org.eclipse.fx.ui.workbench.fx.E4Application$1.lambda$0(E4Application.java:181)
	at org.eclipse.fx.ui.workbench.fx.E4Application$1$$Lambda$63/673438503.run(Unknown Source)
	at org.eclipse.fx.ui.workbench.fx.internal.UISynchronizeImpl.syncExec(UISynchronizeImpl.java:88)
	at org.eclipse.fx.ui.workbench.fx.E4Application$1.run(E4Application.java:170)
	at org.eclipse.fx.ui.workbench.fx.E4Application.jfxStart(E4Application.java:193)
	at org.eclipse.fx.ui.workbench.fx.DefaultJFXApp.start(DefaultJFXApp.java:57)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(Unknown Source)
	at com.sun.javafx.application.LauncherImpl$$Lambda$58/1476900590.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$53/1275102761.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$null$170(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$56/577084506.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$54/111992132.run(Unknown Source)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$null$145(Unknown Source)
	at com.sun.glass.ui.win.WinApplication$$Lambda$44/1831394443.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl cannot be cast to org.eclipse.swt.widgets.Widget
	at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon.subscribeTopicWidget(DnDAddon.java:38)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	... 42 more
In class TopBox in constructor.
In class TopBox in postConstruct() method.
In class BottomBox in constructor.
In class BottomBox in postConstruct() method.








Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705879 is a reply to message #1705878] Wed, 19 August 2015 18:40 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
a) you have not setup a target platform
b) you should not click in the product because a valid launch config has already been created
c) you could simply follow http://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4
Re: Trying to create an e4 only application with JavaFX [message #1705882 is a reply to message #1705878] Wed, 19 August 2015 19:24 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Been there done that Sad

index.php/fa/22961/0/


Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705884 is a reply to message #1705882] Wed, 19 August 2015 19:37 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
4.5 Update site is wrong and the jemmy stuff is legacy because jemmy is discontinued by Oracle
Re: Trying to create an e4 only application with JavaFX [message #1705885 is a reply to message #1705882] Wed, 19 August 2015 19:58 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Please don't take this the wrong way. I am trying to learn here. Smile Not meant to be criticizing.

See notes in below screen captures.
index.php/fa/22962/0/

index.php/fa/22963/0/


Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705887 is a reply to message #1705885] Wed, 19 August 2015 20:12 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The e4xmi editor is not from efxclipse and should be improved to eg detect that no swt is on the classpath. In contrast to that is the 3.x wizard we provide an so create an appropriate file
Re: Trying to create an e4 only application with JavaFX [message #1705889 is a reply to message #1705887] Wed, 19 August 2015 20:23 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Cool Very Happy that makes total sense.

If we can continue with the issue I am having. Following the tutorial with a band new project gave me the same errors. Where do I go from here?


Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705892 is a reply to message #1705889] Wed, 19 August 2015 20:38 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Please only keep the first update site from your target definition - remove the others
Re: Trying to create an e4 only application with JavaFX [message #1705894 is a reply to message #1705892] Wed, 19 August 2015 20:52 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
That change did not go so well.

index.php/fa/22964/0/

index.php/fa/22965/0/


Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705898 is a reply to message #1705894] Wed, 19 August 2015 22:03 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Fixed the prior errors. I pulled out the wrong p2 update site from the Target Platform.

Now I am getting same error that started this thread. I did a string search for "Widget" in all four bundles but did not find it anywhere. What is looking for the "org.eclipse.swt.widgets.Widget"?

org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl cannot be cast to org.eclipse.swt.widgets.Widget


Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705905 is a reply to message #1705898] Wed, 19 August 2015 22:38 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The only p2 repo you have to have in your target definition is
http://download.eclipse.org/efxclipse/runtime-released/2.0.0/site - your
target contains SWT.

Please follow the step 1 in the tutorial once more and start with an
*EMPTY* target definition!

Tom

On 20.08.15 00:03, Paul Roubekas wrote:
> Fixed the prior errors. I pulled out the wrong p2 update site from the
> Target Platform.
>
> Now I am getting same error that started this thread. I did a string
> search for "Widget" in all four bundles but did not find it anywhere.
> What is looking for the "org.eclipse.swt.widgets.Widget"?
>
> org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException:
> org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl
> cannot be cast to org.eclipse.swt.widgets.Widget
Re: Trying to create an e4 only application with JavaFX [message #1705907 is a reply to message #1705905] Wed, 19 August 2015 23:37 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Progress!! But not working.... yet. I am getting the following binding errors now.

!SESSION 2015-08-19 19:29:34.632 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product TwoBox.app.product
Command-line arguments:  -product TwoBox.app.product -data C:\EWS\sandbox00/../runtime-TwoBox.app.product -dev file:C:/EWS/sandbox00/.metadata/.plugins/org.eclipse.pde.core/TwoBox.app.product.product/dev.properties -consoleLog

!ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 19:29:36.717
!MESSAGE Could not bind a reference of component org.eclipse.fx.core.internal.JUtilLoggerFactory. The reference is: Reference[name = registerHandler, interface = java.util.logging.Handler, policy = dynamic, policy-option = greedy, cardinality = 0..n, target = null, bind = registerHandler, unbind = unregisterHandler, updated = null]

!ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 19:29:37.388
!MESSAGE Could not bind a reference of component TwoBox.app.themes.default. The reference is: Reference[name = Stylesheet, interface = org.eclipse.fx.ui.services.theme.Stylesheet, policy = dynamic, cardinality = 0..n, target = null, bind = registerStylesheet, unbind = unregisterStylesheet]

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-08-19 19:29:37.902
!MESSAGE Unable to create class 'org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon' from bundle '61'
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:278)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:186)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:107)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:50)
	at org.eclipse.fx.ui.workbench.base.AbstractE4Application.createE4Workbench(AbstractE4Application.java:280)
	at org.eclipse.fx.ui.workbench.fx.E4Application.initE4Workbench(E4Application.java:284)
	at org.eclipse.fx.ui.workbench.fx.E4Application$1.run(E4Application.java:153)
	at org.eclipse.fx.ui.workbench.fx.E4Application.jfxStart(E4Application.java:193)
	at org.eclipse.fx.ui.workbench.fx.DefaultJFXApp.start(DefaultJFXApp.java:57)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(Unknown Source)
	at com.sun.javafx.application.LauncherImpl$$Lambda$58/1364732931.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$54/1443285689.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$null$170(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$56/1939928008.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$55/1444803259.run(Unknown Source)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$null$145(Unknown Source)
	at com.sun.glass.ui.win.WinApplication$$Lambda$44/831719902.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at org.eclipse.fx.ui.keybindings.e4.internal.BindingTable$BindingComparator.compare(BindingTable.java:91)
	at org.eclipse.fx.ui.keybindings.e4.internal.BindingTable$BindingComparator.compare(BindingTable.java:1)
	at java.util.TimSort.countRunAndMakeAscending(Unknown Source)
	at java.util.TimSort.sort(Unknown Source)
	at java.util.Arrays.sort(Unknown Source)
	at java.util.ArrayList.sort(Unknown Source)
	at java.util.Collections.sort(Unknown Source)
	at org.eclipse.fx.ui.keybindings.e4.internal.BindingTable.addBindingSimple(BindingTable.java:252)
	at org.eclipse.fx.ui.keybindings.e4.internal.BindingTable.evaluateOrderedBindings(BindingTable.java:364)
	at org.eclipse.fx.ui.keybindings.e4.internal.BindingTable.addBinding(BindingTable.java:238)
	at org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon.defineBinding(BindingProcessingAddon.java:141)
	at org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon.defineBindingTable(BindingProcessingAddon.java:132)
	at org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon.defineBindingTables(BindingProcessingAddon.java:117)
	at org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon.init(BindingProcessingAddon.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	... 27 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-08-19 19:29:37.972
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-08-19 19:29:37.973
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-08-19 19:29:37.974
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-08-19 19:29:37.974
!MESSAGE Unable to retrieve the bundle from the URI: bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon


Oxygen 3a
Windows 10
Re: Trying to create an e4 only application with JavaFX [message #1705908 is a reply to message #1705907] Wed, 19 August 2015 23:47 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
I added to the end of the existing "Arguments" string the following.
-persistState false -clearPersistedState

Now each launch only comes with the following errors.

!SESSION 2015-08-19 19:46:48.625 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product TwoBox.app.product -nosplash-persistState false -clearPersistedState
Command-line arguments:  -product TwoBox.app.product -data C:\EWS\sandbox00/../runtime-TwoBox.app.product -dev file:C:/EWS/sandbox00/.metadata/.plugins/org.eclipse.pde.core/TwoBox.app.product.product/dev.properties -consoleLog -nosplash-persistState false -clearPersistedState

!ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 19:46:50.211
!MESSAGE Could not bind a reference of component org.eclipse.fx.core.internal.JUtilLoggerFactory. The reference is: Reference[name = registerHandler, interface = java.util.logging.Handler, policy = dynamic, policy-option = greedy, cardinality = 0..n, target = null, bind = registerHandler, unbind = unregisterHandler, updated = null]

!ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 19:46:50.792
!MESSAGE Could not bind a reference of component TwoBox.app.themes.default. The reference is: Reference[name = Stylesheet, interface = org.eclipse.fx.ui.services.theme.Stylesheet, policy = dynamic, cardinality = 0..n, target = null, bind = registerStylesheet, unbind = unregisterStylesheet]

In class TopBox in constructor.
In class TopBox in postConstruct() method.
In class BottomBox in constructor.
In class BottomBox in postConstruct() method.




Oxygen 3a
Windows 10

[Updated on: Wed, 19 August 2015 23:55]

Report message to a moderator

Re: Trying to create an e4 only application with JavaFX [message #1705932 is a reply to message #1705908] Thu, 20 August 2015 08:51 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Those are not really errors in the sense of your application but a bug
in Equinox-DS which croaks about totally legal stuff.

Tom

On 20.08.15 01:47, Paul Roubekas wrote:
> I added to the end of the existing "Arguments" string the following.
> -persistState false -clearPersistedState
>
> Now each launch only comes with the following errors.
> !SESSION 2015-08-19 19:46:48.625
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.8.0_51
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments: -product TwoBox.app.product -nosplash-persistState
> false -clearPersistedState
> Command-line arguments: -product TwoBox.app.product -data
> C:\EWS\sandbox00/../runtime-TwoBox.app.product -dev
> file:C:/EWS/sandbox00/.metadata/.plugins/org.eclipse.pde.core/TwoBox.app.product.product/dev.properties
> -consoleLog -nosplash-persistState false -clearPersistedState
>
> !ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 19:46:50.211
> !MESSAGE Could not bind a reference of component
> org.eclipse.fx.core.internal.JUtilLoggerFactory. The reference is:
> Reference[name = registerHandler, interface = java.util.logging.Handler,
> policy = dynamic, policy-option = greedy, cardinality = 0..n, target =
> null, bind = registerHandler, unbind = unregisterHandler, updated = null]
>
> !ENTRY org.eclipse.equinox.ds 1 0 2015-08-19 19:46:50.792
> !MESSAGE Could not bind a reference of component
> TwoBox.app.themes.default. The reference is: Reference[name =
> Stylesheet, interface = org.eclipse.fx.ui.services.theme.Stylesheet,
> policy = dynamic, cardinality = 0..n, target = null, bind =
> registerStylesheet, unbind = unregisterStylesheet]
>
Previous Topic:How does one properly use the "EFX_LC:" prefix?
Next Topic:EMF Databinding adapter leak with javafx
Goto Forum:
  


Current Time: Fri Apr 19 22:16:59 GMT 2024

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

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

Back to the top