Hi,
A developers is having issues with using the eclipse plugin and I think it is to do with classpath scanning. (stacktrace below)
This is preventing the editor from opening. I have experienced other strange errors around class loading too where it scans and loads surprising jars and it's a bit hard to work out why.
For instance, I had version 2.{something} of groovy and the eclipse plugin crashed because it tried to load a class in the groovy jar that had been compiled with java 1.7, when we run eclipse using java 1.6 (which granted was a bit of a mistake and this was fine once I downgraded the jar).
It would be great if the plugin was a bit more resilient around issues like this. Or maybe even in the future, if it was possible to specify paths to exclude/include from scanning (a bit like the jbehave plugin does).
Cheers,
Andy.
Caused by: java.lang.NoClassDefFoundError: HttpOperationFailedException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at com.technophobia.substeps.runner.runtime.StepClassFilter.apply(StepClassFilter.java:33)
at com.technophobia.substeps.runner.runtime.StepClassFilter.apply(StepClassFilter.java:27)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:338)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)
at com.technophobia.substeps.document.content.assist.feature.ProjectToSyntaxTransformer.toList(ProjectToSyntaxTransformer.java:95)
at com.technophobia.substeps.document.content.assist.feature.ProjectToSyntaxTransformer.stepClasses(ProjectToSyntaxTransformer.java:89)
at com.technophobia.substeps.document.content.assist.feature.ProjectToSyntaxTransformer.from(ProjectToSyntaxTransformer.java:38)
at com.technophobia.substeps.document.content.assist.feature.ProjectToSyntaxTransformer.from(ProjectToSyntaxTransformer.java:1)
at com.technophobia.substeps.step.provider.ProjectSpecificSuggestionProvider.findStepImplementationsFor(ProjectSpecificSuggestionProvider.java:78)
at com.technophobia.substeps.step.provider.AbstractMultiProjectSuggestionProvider.loadProject(AbstractMultiProjectSuggestionProvider.java:55)
at com.technophobia.substeps.step.provider.AbstractMultiProjectSuggestionProvider.load(AbstractMultiProjectSuggestionProvider.java:33)
at com.technophobia.substeps.step.provider.ProjectSpecificSuggestionProvider.load(ProjectSpecificSuggestionProvider.java:40)
at com.technophobia.substeps.step.ProvidedSuggestionManager.load(ProvidedSuggestionManager.java:41)
at com.technophobia.substeps.FeatureEditorPlugin.addSuggestionProviders(FeatureEditorPlugin.java:136)
at com.technophobia.substeps.FeatureEditorPlugin.start(FeatureEditorPlugin.java:81)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 129 more
Caused by: java.lang.ClassNotFoundException: HttpOperationFailedException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 153 more