classes hidden in trasformation [message #66839] |
Wed, 28 November 2007 15:46  |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi all,
I've written a basic transformation in ATL.
When I run atl file, classes of model are hidden.
I've the following result
****** BEGIN Stack Trace
message: cannot find metamodel element PAstep in model UMLbase
A.main() : ??#22 null
local variables = {self=Uc2Ft : ASMModule}
local stack = []
A.__initallClassesUC() : ??#6 5:52-5:66
local variables = {self=Uc2Ft : ASMModule}
local stack = [Uc2Ft : ASMModule, Sequence {}]
****** END Stack Trace
Have anyone an idea for this problem?
Thanks
Luciana
|
|
|
Re: classes hidden in trasformation [message #66841 is a reply to message #66839] |
Wed, 28 November 2007 16:11   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------080303000703070807090606
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi Luciana,
Typically, this error occurs when you try to acces an element whose
class is not in the metamodel.
From the stack trace, it seems to appear in the "allClassesUC"
attribute (which cannot find a PAstep element).
Quentin GLINEUR
Luciana a
|
|
|
Re: classes hidden in trasformation [message #67341 is a reply to message #66841] |
Wed, 28 November 2007 19:48   |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi Quentin,
in my metamodel there is the Pastep class, but the class is not read.
How can I make it see? Where can the error be?
Thank you
Luciana
|
|
|
Re: classes hidden in trasformation [message #67446 is a reply to message #67341] |
Thu, 29 November 2007 10:12   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------040305070501090806010502
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
I think I foresee your problem: It seems that you are using the profile
for scheduling, right?
In this case, first, make sure you are using the UML model handler.
Then, as the ATL VM does not handle the stereotyped metaclass as whole
metaclass (it only deals with the base metaclass), you should refer to
the base metaclass and the make sure it has been applied the stereotype.
Regards,
Quentin
Luciana a
|
|
|
Re: [ATL] classes hidden in trasformation [message #67465 is a reply to message #67446] |
Thu, 29 November 2007 10:16   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------030603030708010608070905
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
This one more for the [ATL] subject prefix.
(One of the good practices I forgot in my previous answer ;) )
Quentin Glineur a
|
|
|
Re: [ATL] classes hidden in trasformation [message #67486 is a reply to message #67465] |
Thu, 29 November 2007 10:47   |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi,
Yes, I'm using the profile for scheduling.
How I do to see if I'm using the UML model handler?
In Run configuration, Path Editor section, I've that
model handler is EMF. Is it all right?
Thank you very much.
Luciana
|
|
|
Re: [ATL] classes hidden in trasformation [message #67506 is a reply to message #67486] |
Thu, 29 November 2007 11:02   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------010408040402050505070705
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Luciana a
|
|
|
Re: [ATL] classes hidden in trasformation [message #67526 is a reply to message #67506] |
Thu, 29 November 2007 11:16   |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi,
I haven't the possibility to swich to UML2,
because the two choices are: EMF and MDR.
How can I load the model handler UML2?
Is there a way?
Thanks, thanks, thanks
Luciana
|
|
|
Re: [ATL] classes hidden in trasformation [message #67549 is a reply to message #67526] |
Thu, 29 November 2007 11:50   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------060001090706070906050104
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi
Can you please check that you have the latest version of ATL and that
you have the UML2 plugin installed ?
This should solve the problem.
Quentin
Luciana a
|
|
|
Re: [ATL] classes hidden in trasformation [message #67588 is a reply to message #67549] |
Thu, 29 November 2007 12:53   |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi,
I have installed the ATLBundle_20070217.zip available from the site of
Inria.
Here, there are plug-in UML2 version 2.0 and ATL version 1.0.
Are they all right or there are new version?
Thanks
Luciana
|
|
|
Re: [ATL] classes hidden in trasformation [message #67607 is a reply to message #67588] |
Thu, 29 November 2007 13:55   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------040100000004050108090002
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
Indeed, this one is outdated. I advise you to get a new eclipse and to
install ATL from the update site.
http://www.eclipse.org/m2m/atl/download/
(Don't forget to install the EMF and UML2 plugins also.)
Quentin
Luciana a
|
|
|
Re: [ATL] classes hidden in trasformation [message #67943 is a reply to message #67607] |
Sat, 01 December 2007 14:08  |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi,
I've installed ATL 2.0.0 (with UML2, EMF), but when I run
the file .atl, I've same error.
In Error Log view I've:
Launching UML2FT Reason: java.lang.NullPointerException
and in console:
GRAVE: null
java.lang.NullPointerException
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.getSourceMode ls(AtlRegularVM.java:137)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:326)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:453)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.launch(AtlReg ularVM.java:425)
at
org.eclipse.m2m.atl.adt.launching.AtlLaunchConfigurationDele gate.launch(AtlLaunchConfigurationDelegate.java:35)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:766)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:608)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:899)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlu gin.java:1102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
GRAVE: ****** BEGIN Stack Trace
GRAVE: message: cannot find model UML
GRAVE: A.main() : ??#22 null
GRAVE: local variables = {self=UML2FT : ASMModule}
GRAVE: local stack = []
GRAVE: A.__initallClassesUC() : ??#6 5:48-5:58
GRAVE: local variables = {self=UML2FT : ASMModule}
GRAVE: local stack = [UML2FT : ASMModule, Sequence {}]
GRAVE: ****** END Stack Trace
INFO: Execution terminated due to error (see launch configuration to allow
continuation after errors).
GRAVE: cannot find model UML
java.lang.RuntimeException: cannot find model UML
at
org.eclipse.m2m.atl.engine.vm.SimpleDebugger.error(SimpleDeb ugger.java:185)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:85)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:81)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:279)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:161)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:133)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:91)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:230)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:161)
at
org.eclipse.m2m.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:289)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:155)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:105)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:81)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:351)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:453)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.launch(AtlReg ularVM.java:425)
at
org.eclipse.m2m.atl.adt.launching.AtlLaunchConfigurationDele gate.launch(AtlLaunchConfigurationDelegate.java:35)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:766)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:608)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:899)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlu gin.java:1102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
How can I resolve this problem?
Thank you.
Luciana
|
|
|
Powered by
FUDForum. Page generated in 0.02368 seconds