|
|
|
|
|
|
|
|
|
Re: WindowBuilder on Eclipse 4.1 [message #731342 is a reply to message #731341] |
Fri, 30 September 2011 13:00  |
Eclipse User |
|
|
|
Feel free to give them my e-mail address if they have any question.
Tom
Am 30.09.11 18:59, schrieb Tom Schindl:
> Well it looks like mercularian is blindly casting to EvaluationContext
> and Eclipse 4 handlers are passed not an EvaluationContext.
>
> It looks like Mercurial is relying on an implementation detail of the
> 3.x world. You should file a bug against Mercurial so that they can fix
> their code.
>
> Tom
>
> Am 30.09.11 09:47, schrieb Parvez Ahmad Hakim:
>> Thanks Eric, that worked.
>> For the window below provides update site links:
>> http://www.eclipse.org/windowbuilder/download.php
>>
>> Does some one know why mercularian does not work on eclipse 4
>>
>> I get below error
>> 3004: Unexpected error occurred.
>> org.eclipse.e4.core.di.InjectionException:
>> java.lang.ClassCastException:
>> org.eclipse.e4.ui.workbench.modeling.ExpressionContext cannot be cast to
>> org.eclipse.core.expressions.EvaluationContext
>> at
>> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:226)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:207)
>> at
>> org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:123)
>>
>> at
>> org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:142)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:704)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:609)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:593)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$3.handleEvent(HandledContributionItem.java:552)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:969)
>>
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:885)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:87)
>>
>> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:539)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519)
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>
>> 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.equinox.launcher.Main.invokeFramework(Main.java:622)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>> Caused by: java.lang.ClassCastException:
>> org.eclipse.e4.ui.workbench.modeling.ExpressionContext cannot be cast to
>> org.eclipse.core.expressions.EvaluationContext
>> at
>> com.vectrace.MercurialEclipse.menu.RootHandler.execute(RootHandler.java:50)
>> at
>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>>
>> at
>> org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:68)
>>
>> 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)
>>
>> ... 33 more
>>
>
|
|
|
|
Re: WindowBuilder on Eclipse 4.1 [message #731344 is a reply to message #731173] |
Fri, 30 September 2011 12:59  |
Eclipse User |
|
|
|
Well it looks like mercularian is blindly casting to EvaluationContext
and Eclipse 4 handlers are passed not an EvaluationContext.
It looks like Mercurial is relying on an implementation detail of the
3.x world. You should file a bug against Mercurial so that they can fix
their code.
Tom
Am 30.09.11 09:47, schrieb Parvez Ahmad Hakim:
> Thanks Eric, that worked.
> For the window below provides update site links:
> http://www.eclipse.org/windowbuilder/download.php
>
> Does some one know why mercularian does not work on eclipse 4
>
> I get below error
> 3004: Unexpected error occurred.
> org.eclipse.e4.core.di.InjectionException:
> java.lang.ClassCastException:
> org.eclipse.e4.ui.workbench.modeling.ExpressionContext cannot be cast to
> org.eclipse.core.expressions.EvaluationContext
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:226)
>
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:207)
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:123)
>
> at
> org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:142)
>
> at
> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:704)
>
> at
> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:609)
>
> at
> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:593)
>
> at
> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$3.handleEvent(HandledContributionItem.java:552)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:969)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:885)
>
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:87)
>
> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:539)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> 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.equinox.launcher.Main.invokeFramework(Main.java:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> Caused by: java.lang.ClassCastException:
> org.eclipse.e4.ui.workbench.modeling.ExpressionContext cannot be cast to
> org.eclipse.core.expressions.EvaluationContext
> at
> com.vectrace.MercurialEclipse.menu.RootHandler.execute(RootHandler.java:50)
> at
> org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>
> at
> org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:68)
>
> 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)
>
> ... 33 more
>
|
|
|
Re: WindowBuilder on Eclipse 4.1 [message #731345 is a reply to message #731341] |
Fri, 30 September 2011 13:00  |
Eclipse User |
|
|
|
Feel free to give them my e-mail address if they have any question.
Tom
Am 30.09.11 18:59, schrieb Tom Schindl:
> Well it looks like mercularian is blindly casting to EvaluationContext
> and Eclipse 4 handlers are passed not an EvaluationContext.
>
> It looks like Mercurial is relying on an implementation detail of the
> 3.x world. You should file a bug against Mercurial so that they can fix
> their code.
>
> Tom
>
> Am 30.09.11 09:47, schrieb Parvez Ahmad Hakim:
>> Thanks Eric, that worked.
>> For the window below provides update site links:
>> http://www.eclipse.org/windowbuilder/download.php
>>
>> Does some one know why mercularian does not work on eclipse 4
>>
>> I get below error
>> 3004: Unexpected error occurred.
>> org.eclipse.e4.core.di.InjectionException:
>> java.lang.ClassCastException:
>> org.eclipse.e4.ui.workbench.modeling.ExpressionContext cannot be cast to
>> org.eclipse.core.expressions.EvaluationContext
>> at
>> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:226)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:207)
>> at
>> org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:123)
>>
>> at
>> org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:142)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:704)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:609)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:593)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$3.handleEvent(HandledContributionItem.java:552)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:969)
>>
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:885)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:87)
>>
>> at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:539)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519)
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>
>> 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.equinox.launcher.Main.invokeFramework(Main.java:622)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>> Caused by: java.lang.ClassCastException:
>> org.eclipse.e4.ui.workbench.modeling.ExpressionContext cannot be cast to
>> org.eclipse.core.expressions.EvaluationContext
>> at
>> com.vectrace.MercurialEclipse.menu.RootHandler.execute(RootHandler.java:50)
>> at
>> org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>>
>> at
>> org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:68)
>>
>> 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)
>>
>> ... 33 more
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09786 seconds