Cannot run Media Application sample under e(fx)clipse 2.0 [message #1705079] |
Tue, 11 August 2015 22:08 |
Michael Marton Messages: 7 Registered: August 2015 |
Junior Member |
|
|
When trying to run the Media Application sample project under e(fx)clipse 2.0, I get the error(s) shown below
(I did not make any changes to the sample project).
The sample (as well as my own E4 application) runs fine under e(fx)clipse 1.2 but I cannot get anything to run on v2.0.
thanks!
!SESSION 2015-08-11 23:51:12.757 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT
Framework arguments: -product media.product
Command-line arguments: -product media.product -data J:\workspaces\java\TreskySuite/../runtime-media.product -dev file:J:/workspaces/java/TreskySuite/.metadata/.plugins/org.eclipse.pde.core/media.product.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.ds 1 0 2015-08-11 23:51:15.328
!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-11 23:51:15.858
!MESSAGE Could not bind a reference of component media.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
Aug 11, 2015 11:51:16 PM org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl <init>
WARNUNG: Useage of deprecated persisted state 'fx.stage.decoration' please use 'efx.window.decoration.fxml' instead.
Creating controller ....
!ENTRY org.eclipse.equinox.event 4 0 2015-08-11 23:51:17.062
!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@fab5409 (elementId: org.efxclipse.e4.mainWindow, tags: [], contributorURI: platform:/plugin/media) (widget: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl@3a777b22, renderer: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer@17b50892, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: Media Application, iconURI: null, tooltip: null, context: TrimmedWindowImpl (org.efxclipse.e4.mainWindow) Context, variables: [], x: 30, y: 30, width: 1024, height: 768), Widget=org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl@3a777b22, AttName=widget, NewValue=org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl@3a777b22, EventType=SET} to handler org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler@ea36b25
!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/966136923.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/1857059779.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(Unknown Source)
at com.sun.javafx.application.PlatformImpl$$Lambda$54/788707394.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(Unknown Source)
at com.sun.javafx.application.PlatformImpl$$Lambda$56/1865261172.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/713845900.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/1741750503.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
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.30998 seconds