Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Couldn't find method ''_featureCall'' for objects JvmVoid
Couldn't find method ''_featureCall'' for objects JvmVoid [message #903005] Tue, 21 August 2012 15:18 Go to next message
masija . is currently offline masija .Friend
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 #903048 is a reply to message #903005] Tue, 21 August 2012 18:06 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13661
Registered: July 2009
Senior Member
Hi,

i cannot reproduce this. can you share a grammar an possible customizations?

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Couldn't find method ''_featureCall'' for objects JvmVoid [message #903057 is a reply to message #903005] Tue, 21 August 2012 18:35 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
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
Re: Couldn't find method ''_featureCall'' for objects JvmVoid [message #903138 is a reply to message #903005] Wed, 22 August 2012 07:55 Go to previous message
masija . is currently offline masija .Friend
Messages: 59
Registered: July 2010
Member
Hi Christian, Hi Sebastian,

thanks for your replies! Sebastians hint helped me, the resourceSet which I have used was configured wrong, so the expressions couldn't be evaluated.

Best regards,
Masija
Previous Topic:Can't bind IStorage2UriMapper
Next Topic:Large EPackage don't have a Literals Class
Goto Forum:
  


Current Time: Sun Nov 29 23:48:13 GMT 2020

Powered by FUDForum. Page generated in 0.02376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top