Error when using getValue(stereotype, String) wrong number of parameters [message #1076461] |
Wed, 31 July 2013 08:31  |
Eclipse User |
|
|
|
Hi, as explained in my previous post ( http://www.eclipse.org/forums/index.php/m/1076437/#msg_1076437 ) I'm using a profile with two stereotypes: Perspective and View.
I have two properties on both stereotypes called name and icon, both Strings and I can set the value to both properties without any trouble, but when I try to get the value I get this error:
Quote:org.eclipse.m2m.atl.engine.emfvm.VMException: Operation getValue: wrong number of parameters
at EndRule#43(FirstSwt2Pim.atl[270:5-270:72])
local variables: self=FirstSwt2Pim : ASMModule, src=OUT!MonitoringPerspective
at main#28(FirstSwt2Pim.atl)
local variables: self=FirstSwt2Pim : ASMModule
The code causing this is:
src.getValue(src.getAppliedStereotype('RCP::Perspective'), 'name');
I've checked once and again and I'm certain that this method needs just two arguments so I'm a bit confused about the error.
So what am I doing wrong?
Thanks,
regards,
Javier
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02690 seconds