Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare broken with Git #25

Closed
shaivalgupta opened this issue Oct 9, 2013 · 16 comments
Closed

Compare broken with Git #25

shaivalgupta opened this issue Oct 9, 2013 · 16 comments
Labels
Issue A defect or bug which renders one or more features unusable under certain circumstances

Comments

@shaivalgupta
Copy link

I am using the cucumber editor with eclipse. When I try to compare my feature files with older versions in git I get a blank compare screen with the following error

Error
Wed Oct 09 12:58:33 CDT 2013
Guice configuration errors:

  1. No implementation for org.eclipse.compare.IViewerCreator was bound.
    while locating org.eclipse.compare.IViewerCreator
    for field at org.eclipse.xtext.ui.compare.InjectableViewerCreator.viewerCreator(Unknown Source)
    while locating org.eclipse.xtext.ui.compare.InjectableViewerCreator

1 error ExtensionFactory: org.agileware.natural.cucumber.ui.CucumberExecutableExtensionFactory

com.google.inject.ConfigurationException: Guice configuration errors:

  1. No implementation for org.eclipse.compare.IViewerCreator was bound.
    while locating org.eclipse.compare.IViewerCreator
    for field at org.eclipse.xtext.ui.compare.InjectableViewerCreator.viewerCreator(Unknown Source)
    while locating org.eclipse.xtext.ui.compare.InjectableViewerCreator

1 error
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:961)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:50)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:262)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:46)
at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:969)
at org.eclipse.compare.internal.CompareUIPlugin.findContentViewer(CompareUIPlugin.java:964)
at org.eclipse.compare.CompareUI.findContentViewer(CompareUI.java:330)
at org.eclipse.compare.CompareEditorInput.findContentViewer(CompareEditorInput.java:954)
at org.eclipse.team.ui.synchronize.SaveableCompareEditorInput.findContentViewer(SaveableCompareEditorInput.java:435)
at org.eclipse.compare.internal.CompareContentViewerSwitchingPane.getViewer(CompareContentViewerSwitchingPane.java:92)
at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:266)
at org.eclipse.compare.internal.CompareContentViewerSwitchingPane.setInput(CompareContentViewerSwitchingPane.java:158)
at org.eclipse.compare.CompareEditorInput.internalSetContentPaneInput(CompareEditorInput.java:845)
at org.eclipse.compare.CompareEditorInput.access$8(CompareEditorInput.java:843)
at org.eclipse.compare.CompareEditorInput$11.run(CompareEditorInput.java:779)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.compare.CompareEditorInput.feed1(CompareEditorInput.java:773)
at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:751)
at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

My configuration is as follows
Spring Tool Suite

Version: 3.4.0.RELEASE
Build Id: 201310051816

Thanks
Shaival

@mknu
Copy link

mknu commented Oct 10, 2013

Thank you Roberto for a great plugin! It saves a lot of time when working with Cucumber and step def files.

I am seeing an identical stack trace to that reported by Shaival when comparing with Svn, or just comparing two .feature files with each other.

Natural plugin is 0.7.4.201212082218
My Xtext plugins are 2.4.3.v201309030823

Eclipse Plug-in Development Environment
Version: 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E--0
Build id: M20120208-0800

@rlogiacco
Copy link
Owner

haven't solved this yet, but I'm on it

@daniel-da
Copy link

Hi
Just to let you know that I've got the same problem with the version of the plugin present in the update site.
I've just rebuilt it from latest version of source code and the comparison worked perfectly under eclipse.
Regards

@rlogiacco
Copy link
Owner

That's great: which version of XText have you used for the build?

@daniel-da
Copy link

I built the plugin under eclipse kepler, Xtext and Xtend version 2.4.3.

@daniel-da
Copy link

Hi,
Just to let me know if it has fixed the bug?
Regards

@rubberxduck
Copy link

Hi,
I'm using the recent Eclipse Kepler (20140224-0627) with the above Natural plugin version and recent Xtext and Xtend Plugin versions (2.7.0), but this bug is still a problem. Is there any solution?
Thanks and regards

@rlogiacco
Copy link
Owner

I'll try another fix this weekend, but I would welcome some help on the
development side: can any of the users push somebody with programmer skills
onto the project?

On Wed, Sep 3, 2014 at 11:31 AM, rubberxduck [email protected]
wrote:

Hi,
I'm using the recent Eclipse Kepler (20140224-0627) with the above Natural
plugin version and recent Xtext and Xtend Plugin versions (2.7.0), but this
bug is still a problem. Is there any solution?
Thanks and regards


Reply to this email directly or view it on GitHub
#25 (comment).

@rubberxduck
Copy link

Hi again,

I tried the same as daniel-da above: just rebuilding it from the recent source code and installing the newly build plugin version in Eclipse. Et voilà: Everything worked fine!

So, as daniel-da already mentioned, the version of the plugin present in the update site seems to be broken, and you might want to replace it...

Thanks and regards

@phesoj
Copy link

phesoj commented Oct 16, 2014

I have this problem too,

Please can you advise me on how to build the plugin? I am struggling to figure out what I am supposed to be doing here.

@rlogiacco
Copy link
Owner

I just released version 0.7.5 on the update site: can you please try updating and check if it solves your issue? Thanks

@phesoj
Copy link

phesoj commented Oct 17, 2014

Works like a charm, thanks a lot 👍

Just a heads up, I think because you changed the name from Natural to Behavioral Testing Editors, the auto update didnt pick it up as a later version of the same thing. Easy to get round by uninstalling the old one and taking the new from the update site. Probably not worth looking in to, just thought I should let you know.

Very very grateful for this :) Now I don't have any excuses for making mistakes in my cucumber commits....

@rlogiacco
Copy link
Owner

That was totally unintended!!!

rlogiacco added a commit that referenced this issue Oct 17, 2014
rlogiacco added a commit that referenced this issue Oct 17, 2014
@rlogiacco
Copy link
Owner

Closing it now: hoping this issue will not come back!

@dpinol
Copy link

dpinol commented Oct 17, 2014

Hi,
congratulation for the wonderful plugin.
I cannot upgrade either from eclipse to the 0.7.5.201410171908 version, and I was not able to construct the jar url from
http://rlogiacco.github.io/Natural/site.xml. Can you help me?

@rlogiacco
Copy link
Owner

I just republished the update site to publish again the same category it was before: normal update should work now and you should be able to see a new 0.7.5 version of the cucumber feature.
@phesoj sorry about the name change, I've reverted it back, which means you should uninstall the one you have currently installed and get the correct one to automatically receive future updates.

For everybody: development help is really needed here to move this plugin forward and solve the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue A defect or bug which renders one or more features unusable under certain circumstances
Projects
None yet
Development

No branches or pull requests

7 participants