[ATL] Processing GMF [message #80540] |
Thu, 01 May 2008 14:20 |
Eclipse User |
|
|
|
Originally posted by: bures.dsrg.mff.cuni.cz
This is a multi-part message in MIME format.
--------------020606000507040604020103
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hello,
I've created an ATL module that should create a copy of GMF diagram file (meta-model URI: http://www.eclipse.org/gmf/runtime/1.0.1/notation). The module is attached.
It compiles fine, however when I try to run it on a GMF diagram file, I get the following error:
SEVERE: ****** BEGIN Stack Trace
SEVERE: message: trying to register several rules as default for element inM!<unnamed>: 'R_FillStyle' and 'R_LineStyle'
SEVERE: A.main() : ??#22 null
SEVERE: local variables = {self=ATLCopier_notation : ASMModule}
SEVERE: local stack = []
SEVERE: A.__matcher__() : ??#3 null
SEVERE: local variables = {self=ATLCopier_notation : ASMModule}
SEVERE: local stack = []
SEVERE: A.__matchR_LineStyle() : ??#36 null
SEVERE: local variables = {s=inM!<unnamed>, self=ATLCopier_notation : ASMModule}
SEVERE: local stack = []
SEVERE: NativeOperation public static void org.eclipse.m2m.atl.engine.vm.nativelib.ASMTransientLinkSet. addLink(org.eclipse.m2m.atl.engine.vm.StackFrame,org.eclipse .m2m.atl.engine.vm.nativelib.ASMTransientLinkSet,org.eclipse .m2m.atl.engine.vm.nativelib.ASMTransientLink)
SEVERE: args = [TransientLinkSet {TransientLink {rule = 'R_FillStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}, TransientLink {rule = 'R_FillStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}, TransientLink {rule = 'R_FillStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}, TransientLink {rule = 'R_FillStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}, TransientLink {rule = 'R_FillStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}, TransientLink {rule = 'R_FillStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}}, TransientLink {rule = 'R_LineStyle', sourceElements = {s = inM!<unnamed>}, targetElements = {t = outM!<unnamed>}, variables = {}}]
SEVERE: ****** END Stack Trace
INFO: Execution terminated due to error (see launch configuration to allow continuation after errors).
.....
.....
.....
In the end, it looks like the problem lies in having these two rules in the transformation. Actually, the error persists until I have more than one rule for styles.
rule R_FillStyle {
from s : MM!FillStyle
to t : MM!FillStyle (
fillColor <- s.fillColor
)
}
rule R_LineStyle {
from s : MM!LineStyle
to t : MM!LineStyle (
lineColor <- s.lineColor
)
}
Do you have any idea, what it could mean and how to cope with that?
Thank you,
Tomas
--------------020606000507040604020103
Content-Type: text/plain;
name="notation.atl"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="notation.atl"
bW9kdWxlIEFUTENvcGllcl9ub3RhdGlvbjsgLS0gTW9kdWxlIFRlbXBsYXRl CmNyZWF0ZSBv
dXRNIDogTU0gZnJvbSBpbk0gOiBNTTsKcnVsZSBSX0VkZ2UgewoJZnJvbSBz IDogTU0hRWRn
ZQoJdG8gdCA6IE1NIUVkZ2UgKAoJCXZpc2libGUgPC0gcy52aXNpYmxlLAoJ CXR5cGUgPC0g
cy50eXBlLAoJCWNoaWxkcmVuIDwtIHMuY2hpbGRyZW4sCgkJc3R5bGVzIDwt IHMuc3R5bGVz
LAoJCWVsZW1lbnQgPC0gcy5lbGVtZW50LAoJCXNvdXJjZSA8LSBzLnNvdXJj ZSwKCQl0YXJn
ZXQgPC0gcy50YXJnZXQsCgkJYmVuZHBvaW50cyA8LSBzLmJlbmRwb2ludHMs CgkJc291cmNl
QW5jaG9yIDwtIHMuc291cmNlQW5jaG9yLAoJCXRhcmdldEFuY2hvciA8LSBz LnRhcmdldEFu
Y2hvcgoJKQp9CnJ1bGUgUl9Ob2RlIHsKCWZyb20gcyA6IE1NIU5vZGUKCXRv IHQgOiBNTSFO
b2RlICgKC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ply to message #80540] |
Thu, 01 May 2008 20:01 |
Eclipse User |
|
|
|
Originally posted by: goetz.botterweck.lero.ie
Tomas Bures wrote:
>
> SEVERE: ****** BEGIN Stack Trace
> SEVERE: message: trying to register several rules as default for
> element inM!<unnamed>: 'R_FillStyle' and 'R_LineStyle'
Could it be that the problem is caused by a specialization relationship
between the two classes?
In that case a rule that matches the more generic class also matches the
specialized class.
If that is undesired you should add an additional condition with
oclIsTypeOf() to the more general rule.
HTH,
Goetz
|
|
|
Re: [ATL] Processing GMF [message #80584 is a reply to message #80570] |
Thu, 01 May 2008 20:04 |
Eclipse User |
|
|
|
Originally posted by: bures.dsrg.mff.cuni.cz
Thank you. That could be. In GMF, there is an abstract class Style and the specialized styles (e.g. LineStyle, FillStyle, FontStyle, etc.) inherit from it.
Tomas
Goetz Botterweck wrote:
> Tomas Bures wrote:
>>
>> SEVERE: ****** BEGIN Stack Trace
>> SEVERE: message: trying to register several rules as default for
>> element inM!<unnamed>: 'R_FillStyle' and 'R_LineStyle'
>
> Could it be that the problem is caused by a specialization relationship
> between the two classes?
>
> In that case a rule that matches the more generic class also matches the
> specialized class.
>
> If that is undesired you should add an additional condition with
> oclIsTypeOf() to the more general rule.
>
> HTH,
> Goetz
|
|
|
Powered by
FUDForum. Page generated in 0.04109 seconds