Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Xpand: invoking getValue() leads to an invocation target exception
Xpand: invoking getValue() leads to an invocation target exception [message #56776] Mon, 02 February 2009 12:48 Go to next message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
Hi,

I'm currently working on a template parsing UML2 activity diagrams. now
trying to invoke getValue on an element to get a tagged value from an
applied stereotype on that same element from inside the template file
yields to an invocation target exception anyone got a clue why this
occurs? Are there any special imports or classpath modifications to be
considered?

thanks in advance!

cheers,

philipp
Re: Xpand: invoking getValue() leads to an invocation target exception [message #56803 is a reply to message #56776] Mon, 02 February 2009 19:54 Go to previous messageGo to next message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
Philipp Zech schrieb:
> Hi,
>
> I'm currently working on a template parsing UML2 activity diagrams. now
> trying to invoke getValue on an element to get a tagged value from an
> applied stereotype on that same element from inside the template file
> yields to an invocation target exception anyone got a clue why this
> occurs? Are there any special imports or classpath modifications to be
> considered?
>
> thanks in advance!
>
> cheers,
>
> philipp
resolved
Re: Xpand: invoking getValue() leads to an invocation target exception [message #57084 is a reply to message #56803] Sun, 08 February 2009 12:45 Go to previous message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
Philipp Zech schrieb:
> Philipp Zech schrieb:
>> Hi,
>>
>> I'm currently working on a template parsing UML2 activity diagrams.
>> now trying to invoke getValue on an element to get a tagged value from
>> an applied stereotype on that same element from inside the template
>> file yields to an invocation target exception anyone got a clue why
>> this occurs? Are there any special imports or classpath modifications
>> to be considered?
>>
>> thanks in advance!
>>
>> cheers,
>>
>> philipp
> resolved
For reasons of completeness, the error occurred as i wrote down the name
of the tagged value whose value i wanted to received with a starting
upper case letter and not lower case.
Previous Topic:OAW: issues with outlet path declaration in generator.oaw file
Next Topic:calling a java extension from inside an Xpand file
Goto Forum:
  


Current Time: Sat Nov 29 00:35:51 GMT 2014

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

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