Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » CPL2SPL sample does not work with ATL_bundle eclipse
CPL2SPL sample does not work with ATL_bundle eclipse [message #31790] Mon, 16 April 2007 01:38 Go to next message
Eclipse UserFriend
Originally posted by: miwamasa.ieee.org

The sample project CPL2SPL seems not working with
Development build(February 16, 2007).

I have tested with ATL_bundle(for windows only) version.

There are two problems. "[1]CPL2SPL error" and "[2]TCS loading
error(SPL.tcs)"

[1]CPL2SPL error
When applying CPL2SPL with sample AComplexExample.cpl
I got Error like this,

********************************* ERROR *********************************
Message: cannot set feature SPL!Dialog.methods to value null
A.main() : ??#60 null
local variables = {self=CPL2SPL : ASMModule}
local stack = []
A.__exec__() : ??#8 null
local variables = {self=CPL2SPL : ASMModule, e=TransientLink {rule =
'CPL2Program', sourceElements = {s = IN!<unnamed>}, targetElements =
{dialog = OUT!<unnamed>, service = OUT!unnamed, t = OUT!<unnamed>},
variables = {}}}
local stack = []
A.__applyCPL2Program(1 : NTransientLink;) : ??#54 42:25-42:69
local variables = {t=OUT!<unnamed>, dialog=OUT!<unnamed>, s=IN!<unnamed>,
self=CPL2SPL : ASMModule, service=OUT!unnamed, link=TransientLink {rule =
'CPL2Program', sourceElements = {s = IN!<unnamed>}, targetElements =
{dialog = OUT!<unnamed>, service = OUT!unnamed, t = OUT!<unnamed>},
variables = {}}}
local stack = [OUT!<unnamed>]
************************************************************ *************

[2]TCS loading error(SPL.tcs)
[am3.loadModel] Loading of model SPL.tcs
[am3.loadModel] java.lang.NullPointerException
[am3.loadModel] at
org.atl.engine.repositories.emf4atl.ASMEMFModelElement.set(A SMEMFModelElement.java:193)
[am3.loadModel] at
org.atl.engine.injectors.ebnf.EBNFInjector2.set(EBNFInjector 2.java:903)
[am3.loadModel] at
org.atl.engine.injectors.ebnf.EBNFInjector2.set(EBNFInjector 2.java:450)
[am3.loadModel] at
org.atl.engine.injectors.ebnf.TCSParser.operator(TCSParser.j ava:3829)
[am3.loadModel] at
org.atl.engine.injectors.ebnf.TCSParser.priority(TCSParser.j ava:1163)
[am3.loadModel] at
org.atl.engine.injectors.ebnf.TCSParser.concreteSyntax(TCSPa rser.java:289)
[am3.loadModel] at
org.atl.engine.injectors.ebnf.TCSParser.main(TCSParser.java: 65)
Re: CPL2SPL sample does not work with ATL_bundle eclipse [message #32355 is a reply to message #31790] Tue, 17 April 2007 20:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: miwamasa.ieee.org

This is the self reply. Despite the ERROR message on the consle,
CPL2SPL.atl generates target SPL ecore model (seemes fine) by setting
the launch configuration.

<booleanAttribute key="ContinueAfterError" value="true"/>

I still have [2]TCS loading error(SPL.tcs), which causes all
the operation definitions in TCS is out of the recognition in
the text transformation.


Miki Iwamasa wrote:

> The sample project CPL2SPL seems not working with
> Development build(February 16, 2007).

> I have tested with ATL_bundle(for windows only) version.

> There are two problems. "[1]CPL2SPL error" and "[2]TCS loading
> error(SPL.tcs)"

> [1]CPL2SPL error
> When applying CPL2SPL with sample AComplexExample.cpl
> I got Error like this,

> ********************************* ERROR *********************************
> Message: cannot set feature SPL!Dialog.methods to value null
> A.main() : ??#60 null
> local variables = {self=CPL2SPL : ASMModule}
> local stack = []
> A.__exec__() : ??#8 null
> local variables = {self=CPL2SPL : ASMModule, e=TransientLink {rule =
> 'CPL2Program', sourceElements = {s = IN!<unnamed>}, targetElements =
> {dialog = OUT!<unnamed>, service = OUT!unnamed, t = OUT!<unnamed>},
> variables = {}}}
> local stack = []
> A.__applyCPL2Program(1 : NTransientLink;) : ??#54 42:25-42:69
> local variables = {t=OUT!<unnamed>, dialog=OUT!<unnamed>, s=IN!<unnamed>,
> self=CPL2SPL : ASMModule, service=OUT!unnamed, link=TransientLink {rule =
> 'CPL2Program', sourceElements = {s = IN!<unnamed>}, targetElements =
> {dialog = OUT!<unnamed>, service = OUT!unnamed, t = OUT!<unnamed>},
> variables = {}}}
> local stack = [OUT!<unnamed>]
> ************************************************************ *************

> [2]TCS loading error(SPL.tcs)
> [am3.loadModel] Loading of model SPL.tcs
> [am3.loadModel] java.lang.NullPointerException
> [am3.loadModel] at
>
org.atl.engine.repositories.emf4atl.ASMEMFModelElement.set(A SMEMFModelElement.java:193)
> [am3.loadModel] at
> org.atl.engine.injectors.ebnf.EBNFInjector2.set(EBNFInjector 2.java:903)
> [am3.loadModel] at
> org.atl.engine.injectors.ebnf.EBNFInjector2.set(EBNFInjector 2.java:450)
> [am3.loadModel] at
> org.atl.engine.injectors.ebnf.TCSParser.operator(TCSParser.j ava:3829)
> [am3.loadModel] at
> org.atl.engine.injectors.ebnf.TCSParser.priority(TCSParser.j ava:1163)
> [am3.loadModel] at
> org.atl.engine.injectors.ebnf.TCSParser.concreteSyntax(TCSPa rser.java:289)
> [am3.loadModel] at
> org.atl.engine.injectors.ebnf.TCSParser.main(TCSParser.java: 65)
Re: [ATL] CPL2SPL sample does not work with ATL_bundle eclipse [message #32427 is a reply to message #32355] Tue, 17 April 2007 23:20 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

Thank you for this additional information.

This will hopefully help us investigating the issue.


Regards,

Frédéric Jouault

P.S.: Could you please prefix the subject of your ATL-related posts with
[ATL] within this newsgroup?


Miki Iwamasa wrote:
>
> This is the self reply. Despite the ERROR message on the consle,
> CPL2SPL.atl generates target SPL ecore model (seemes fine) by setting
> the launch configuration.
>
> <booleanAttribute key="ContinueAfterError" value="true"/>
>
> I still have [2]TCS loading error(SPL.tcs), which causes all
> the operation definitions in TCS is out of the recognition in
> the text transformation.
>
>
> Miki Iwamasa wrote:
>
>> The sample project CPL2SPL seems not working with Development
>> build(February 16, 2007).
>
>> I have tested with ATL_bundle(for windows only) version.
>
>> There are two problems. "[1]CPL2SPL error" and "[2]TCS loading
>> error(SPL.tcs)"
>
>> [1]CPL2SPL error
>> When applying CPL2SPL with sample AComplexExample.cpl
>> I got Error like this,
>
>> ********************************* ERROR
>> *********************************
>> Message: cannot set feature SPL!Dialog.methods to value null
>> A.main() : ??#60 null
>> local variables = {self=CPL2SPL : ASMModule}
>> local stack = []
>> A.__exec__() : ??#8 null
>> local variables = {self=CPL2SPL : ASMModule, e=TransientLink {rule
>> = 'CPL2Program', sourceElements = {s = IN!<unnamed>}, targetElements =
>> {dialog = OUT!<unnamed>, service = OUT!unnamed, t = OUT!<unnamed>},
>> variables = {}}}
>> local stack = []
>> A.__applyCPL2Program(1 : NTransientLink;) : ??#54 42:25-42:69
>> local variables = {t=OUT!<unnamed>, dialog=OUT!<unnamed>,
>> s=IN!<unnamed>, self=CPL2SPL : ASMModule, service=OUT!unnamed,
>> link=TransientLink {rule = 'CPL2Program', sourceElements = {s =
>> IN!<unnamed>}, targetElements = {dialog = OUT!<unnamed>, service =
>> OUT!unnamed, t = OUT!<unnamed>}, variables = {}}}
>> local stack = [OUT!<unnamed>]
>> ************************************************************ *************
>
>> [2]TCS loading error(SPL.tcs)
>> [am3.loadModel] Loading of model SPL.tcs
>> [am3.loadModel] java.lang.NullPointerException
>> [am3.loadModel] at
> org.atl.engine.repositories.emf4atl.ASMEMFModelElement.set(A SMEMFModelElement.java:193)
>
>> [am3.loadModel] at
>> org.atl.engine.injectors.ebnf.EBNFInjector2.set(EBNFInjector 2.java:903)
>> [am3.loadModel] at
>> org.atl.engine.injectors.ebnf.EBNFInjector2.set(EBNFInjector 2.java:450)
>> [am3.loadModel] at
>> org.atl.engine.injectors.ebnf.TCSParser.operator(TCSParser.j ava:3829)
>> [am3.loadModel] at
>> org.atl.engine.injectors.ebnf.TCSParser.priority(TCSParser.j ava:1163)
>> [am3.loadModel] at
>> org.atl.engine.injectors.ebnf.TCSParser.concreteSyntax(TCSPa rser.java:289)
>>
>> [am3.loadModel] at
>> org.atl.engine.injectors.ebnf.TCSParser.main(TCSParser.java: 65)
>
Previous Topic:[ATL] Transformation only executes once
Next Topic:Comparative study between ATL and ETL
Goto Forum:
  


Current Time: Tue Mar 19 11:40:13 GMT 2024

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

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

Back to the top