Couldn't find method ''_featureCall'' for objects JvmVoid [message #903005] |
Tue, 21 August 2012 15:18 |
masija . Messages: 59 Registered: July 2010 |
Member |
|
|
Hi everybody,
I get a strange error if I try to evaluate Xbase expressions.
My Grammar contains just a field expression=XExpression.
If I write in a .dsl file eg true && false an unhandled loop exception is thrown:
Caused by: org.eclipse.xtext.util.PolymorphicDispatcher$NoSuchMethodException: Couldn't find method ''_featureCall'' for objects [JvmVoid: (eProxyURI: platform:/resource/ololol/src/My_synthetic.pc#xtextLink_::0.0.2::0::/1), <XBooleanLiteralImpl> && <XBooleanLiteralImpl>, true, org.eclipse.xtext.xbase.interpreter.impl.DefaultEvaluationContext@1bed0884, org.eclipse.xtext.util.CancelIndicator$1@66ca206e]
... 57 more
Does anyone has an idea why this error occurs and how I could possibly fix it?
Best regards
Masija
[Updated on: Tue, 21 August 2012 15:18] Report message to a moderator
|
|
|
|
Re: Couldn't find method ''_featureCall'' for objects JvmVoid [message #903057 is a reply to message #903005] |
Tue, 21 August 2012 18:35 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Masija,
the feature '&&' (operator_and) is not resolvable. Can you make sure
that your resource set or the project that contains the file is properly
configured (has xbase.lib on its classpath).
Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 21.08.12 17:18, schrieb masija .:
> Hi everybody,
>
> I get a strange error if I try to evaluate Xbase expressions.
> My Grammar contains just a field expression=XExpression.
> If I write in a .dsl file eg true && false an unhandled loop exception:
>
> Caused by:
> org.eclipse.xtext.util.PolymorphicDispatcher$NoSuchMethodException:
> Couldn't find method ''_featureCall'' for objects [JvmVoid: (eProxyURI:
> platform:/resource/ololol/src/My_synthetic.pc#xtextLink_::0.0.2::0::/1),
> <XBooleanLiteralImpl> && <XBooleanLiteralImpl>, true,
> mailto:org.eclipse.xtext.xbase.interpreter.impl.DefaultEvaluationContext@1bed0884,
> org.eclipse.xtext.util.CancelIndicator$1@66ca206e]
> ... 57 more
>
> Does anyone has an idea why this error occurs and how I could possibly
> fix it?
> Best regards
> Masija
|
|
|
|
Powered by
FUDForum. Page generated in 0.02896 seconds