[XPand/workflow] Error [message #516078] |
Mon, 22 February 2010 17:18 |
MJ Messages: 16 Registered: August 2009 |
Junior Member |
|
|
Hi everyone,
I've got a question regarding workflow execution.
I didn't know if I shall put this thread in the m2t subforums, but since I'm a newcomer, I decided to post it here.
My question is pretty simple,
when executing my workflow file, I'm getting this error:
Exception in thread "main" java.lang.NoSuchFieldError: ruleMemo
at org.eclipse.internal.xpand2.parser.XpandParser.<init>(XpandParser.java:44)
at org.eclipse.internal.xpand2.parser.XpandParser.<init>(XpandParser.java:55)
at org.eclipse.internal.xpand2.parser.XpandLocationAddingParser . <init>(XpandLocationAddingParser.java:30)
at org.eclipse.internal.xpand2.parser.XpandParseFacade$2.<init >(XpandParseFacade.java:63)
at org.eclipse.internal.xpand2.parser.XpandParseFacade.getParse r(XpandParseFacade.java:63)
at org.eclipse.internal.xpand2.parser.XpandParseFacade.file(Xpa ndParseFacade.java:44)
at org.eclipse.internal.xpand2.parser.XpandParseFacade.file(Xpa ndParseFacade.java:31)
at org.eclipse.xpand2.Generator.getStatement(Generator.java:458 )
at org.eclipse.xpand2.Generator.checkConfigurationInternal(Gene rator.java:498)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2.chec kConfiguration(AbstractWorkflowComponent2.java:21)
at org.eclipse.emf.mwe.core.container.CompositeComponent.checkC onfiguration(CompositeComponent.java:139)
at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunn er.java:345)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.j ava:289)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner. java:239)
Before this error I had some other error regarding something like antlr.
I came across this page:
http://www.ibm.com/developerworks/forums/thread.jspa?message ID=14157934&tstart=0
There I had to put several .jar files into my java classpath.
I think its "C:\Program Files\Java\jre6\lib\ext", right?
After this, I got the error shown above and now I've no clue what to do. I'm not familiar with such kind of errors, so maybe someone could enlighten me in any way. I'll appreciate any kind of information.
Cheers and regards
Michael
[Updated on: Mon, 22 February 2010 17:20] Report message to a moderator
|
|
|
Re: [XPand/workflow] Error [message #516084 is a reply to message #516078] |
Mon, 22 February 2010 17:43 |
Gerald Rosenberg Messages: 106 Registered: July 2009 |
Senior Member |
|
|
MWE appears to depend on the XText plugin for the antlr runtime, etc. based on some implicit
classpath resolution.
The error indicates that some newer version of antlr is now being found on the classpath.
Best/direct fix is to explicitly add the "org.antlr.gen" and "de.itemis.xtext.antlr" plugins to
your MWE project plugin's list of dependencies.
IMO, adding anything to the ./ext directory is to be avoided at all cost.
In article <hluea0$tnm$1@build.eclipse.org>, mjaeger6@cc.hs-owl.de says...
>
> Hi everyone,
>
> I've got a question regarding workflow execution.
>
> I didn't know if I shall put this thread in the m2t subforums, but since I'm a newcomer, I decided to post it here.
>
> My question is pretty simple,
>
> when executing my workflow file, I'm getting this error:
>
> Exception in thread "main" java.lang.NoSuchFieldError: ruleMemo
> at org.eclipse.internal.xpand2.parser.XpandParser.<init>(XpandParser.java:44)
> at org.eclipse.internal.xpand2.parser.XpandParser.<init>(XpandParser.java:55)
> at org.eclipse.internal.xpand2.parser.XpandLocationAddingParser . <init>(XpandLocationAddingParser.java:30)
> at org.eclipse.internal.xpand2.parser.XpandParseFacade$2.<init >(XpandParseFacade.java:63)
> at org.eclipse.internal.xpand2.parser.XpandParseFacade.getParse r(XpandParseFacade.java:63)
> at org.eclipse.internal.xpand2.parser.XpandParseFacade.file(Xpa ndParseFacade.java:44)
> at org.eclipse.internal.xpand2.parser.XpandParseFacade.file(Xpa ndParseFacade.java:31)
> at org.eclipse.xpand2.Generator.getStatement(Generator.java:458 )
> at org.eclipse.xpand2.Generator.checkConfigurationInternal(Gene rator.java:498)
> at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2.chec kConfiguration(AbstractWorkflowComponent2.java:21)
> at org.eclipse.emf.mwe.core.container.CompositeComponent.checkC onfiguration(CompositeComponent.java:139)
> at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunn er.java:345)
> at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.j ava:289)
> at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner. java:239)
>
> Before this error I had some other error regarding something like antlr.
>
> I came across this page:
> http://www.ibm.com/developerworks/forums/thread.jspa?message ID=14157934&tstart=0
>
> There I had to put several .jar files into my java classpath.
> I think its "C:\Program Files\Java\jre6\lib\ext", right?
>
> After this, I got the error shown obove and now I've no clue what to do. I'm not familiar with such kind of errors, so maybe someone could enlighten me in any way. I'll appreciate any kind of information.
>
> Cheers and regards
> Michael
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09230 seconds