Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Method 'getContainmentReferences' not found (190:38)
Method 'getContainmentReferences' not found (190:38) [message #510493] Wed, 27 January 2010 16:19 Go to next message
m kranz is currently offline m kranz
Messages: 69
Registered: January 2010
Member
hi all

i installed eugenia yesterday (from update site) and tried to follow the screencast for "GMF editor development with eugenia". besides the fact that the emfatic code seen in the example is wrong (as well as the code at the eugenia main page, finally found the working code here: http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/), the example worked for me.

in the next step i tried eugenia on the model i'm currently working with. i already have both an .ecore and a .genmodel, so i tried to "generate tool graph and map models" from the .ecore file. at this point i got the following exception:

Method 'getContainmentReferences' not found (190:38)
at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on(PointExecutor.java:190)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:67)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:37)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:123)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
at org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute (ForStatementExecutor.java:44)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
at org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57)
at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl(EolTransformationActionDelegate.java:124)
at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run(EolTransformationActionDelegate.java:61)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

i have no idea what exactly is going wrong here, maybe someone can help me with that?
im running galileo, epsilon version is 0.8.8.200910281243.

thanks in advance

marco
Re: Method 'getContainmentReferences' not found (190:38) [message #510597 is a reply to message #510493] Wed, 27 January 2010 22:35 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

Please see comments below.

Marco.Kranz@fokus.fraunhofer.de wrote:
> hi all
>
> i installed eugenia yesterday (from update site) and tried to follow the
> screencast for "GMF editor development with eugenia". besides the fact
> that the emfatic code seen in the example is wrong (as well as the code
> at the eugenia main page, finally found the working code here:
> http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/),
> the example worked for me.

What exactly was the problem with the example in
http://www.eclipse.org/gmt/epsilon/doc/eugenia/?

>
> in the next step i tried eugenia on the model i'm currently working
> with. i already have both an .ecore and a .genmodel, so i tried to
> "generate tool graph and map models" from the .ecore file. at this point
> i got the following exception:
>
> Method 'getContainmentReferences' not found (190:38)
> at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati
> on(PointExecutor.java:190)
> at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE
> xecutor.java:67)
> at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE
> xecutor.java:37)
> at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE
> xecutor.java:123)
> at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E
> xecutorFactory.java:185)
> at org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute
> (ForStatementExecutor.java:44)
> at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E
> xecutorFactory.java:185)
> at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu
> te(StatementBlockExecutor.java:33)
> at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E
> xecutorFactory.java:185)
> at org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57)
> at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate.
> runImpl(EolTransformationActionDelegate.java:124)
> at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$
> 1.run(EolTransformationActionDelegate.java:61)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> i have no idea what exactly is going wrong here, maybe someone can help
> me with that?
> im running galileo, epsilon version is 0.8.8.200910281243.

Could you possibly share your .emf/.ecore model so that I can have a
closer look?

>
> thanks in advance
>
> marco

Cheers,
Dimitris
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #510697 is a reply to message #510597] Thu, 28 January 2010 11:16 Go to previous messageGo to next message
m kranz is currently offline m kranz
Messages: 69
Registered: January 2010
Member
Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
Hi Marco,


hi dimitrios

thanks for your reply.

Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35

What exactly was the problem with the example in
http://www.eclipse.org/gmt/epsilon/doc/eugenia/?



line 16 in the example looks like this:

"@gmf.compartment"

but i had to change it to:

"@gmf.compartment(foo="bar")"

Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35

Could you possibly share your .emf/.ecore model so that I can have a
closer look?



i can send it to you per mail if you give me an adress. is there a way to send private messages in here?
Re: Method 'getContainmentReferences' not found (190:38) [message #510702 is a reply to message #510697] Thu, 28 January 2010 11:20 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

Please see comments below.

Marco.Kranz@fokus.fraunhofer.de wrote:
> Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
>> Hi Marco,
>
> hi dimitrios
>
> thanks for your reply.
>
> Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
>> What exactly was the problem with the example in
>> http://www.eclipse.org/gmt/epsilon/doc/eugenia/?
>
>
> line 16 in the example looks like this:
>
> "@gmf.compartment"
>
> but i had to change it to:
>
> "@gmf.compartment(foo="bar")"

You're right. I've patched Emfatic in my setup to accept annotations
without details and forgot to add the foo-bar dummy detail to the
compartment in the online example. I'll fix this shortly.

>
> Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
>> Could you possibly share your .emf/.ecore model so that I can have a
>> closer look?
>
>
> i can send it to you per mail if you give me an adress. is there a way
> to send private messages in here?
>

My email address is dskolovos gmail com

Cheers,
Dimitris

--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #516246 is a reply to message #510702] Tue, 23 February 2010 11:11 Go to previous messageGo to next message
As Sa is currently offline As Sa
Messages: 5
Registered: February 2010
Junior Member
Dear Marco and Dimitrios,

I have the same problem in "generate tool graph and map models" from the .ecore file.

Can you please help me ?

Cheers,

Asieh
Re: Method 'getContainmentReferences' not found (190:38) [message #516248 is a reply to message #516246] Tue, 23 February 2010 11:12 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Could you please send me your .emf metamodel (at dskolovos_gmail_com) so
that I can have a look?

Cheers,
Dimitris

As Sa wrote:
> Dear Marco and Dimitrios,
>
> I have the same problem in "generate tool graph and map models" from the
> .ecore file.
>
> Can you please help me ?
>
> Cheers,
>
> Asieh


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #521419 is a reply to message #516248] Wed, 17 March 2010 14:33 Go to previous messageGo to next message
Marin  rli? is currently offline Marin rli?
Messages: 35
Registered: October 2009
Member
Same problem Smile

Ecore generated from XSD, I don't know if that makes a difference...
Should I send ecore and genmodel too?

Thanks,
Marin
Re: Method 'getContainmentReferences' not found (190:38) [message #521464 is a reply to message #521419] Wed, 17 March 2010 16:31 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marin,

Have you added the necessary @gmf.xxx annotations to your metamodel as
per
http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/?
If you've already done this, please send me your .ecore so that I can
have a look.

Cheers,
Dimitris

Marin Orlić wrote:
> Same problem :)
>
> Ecore generated from XSD, I don't know if that makes a difference...
> Should I send ecore and genmodel too?
>
> Thanks,
> Marin


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #521603 is a reply to message #521464] Thu, 18 March 2010 09:54 Go to previous messageGo to next message
Marin  rli? is currently offline Marin rli?
Messages: 35
Registered: October 2009
Member
Hi Dimitrios,

you're right, I was missing some annotations, now it's working..
There are some things I'm not sure how to specify - my model is created from XSD so the structure isn't what you'd normally expect. For instance, the model uses a separate class for labels and stores the labels in a mixed attribute which is a EFeatureMapEntry, to have it stored as XML element CDATA content.

Do you have any pointers how to handle such stuff?

Thanks,
Marin
Re: Method 'getContainmentReferences' not found (190:38) [message #521621 is a reply to message #521603] Thu, 18 March 2010 10:10 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marin,

Unfortunately, we've not used Eugenia with XSD-generated Ecore models
before so you're breaking new ground here :) In any case, even if
something is not natively supported by the built-in annotations, if you
figure out how to do it in plain GMF, you can then use the approach
discussed in
http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
reproduce it within Eugenia.

Cheers,
Dimitris

Marin Orlić wrote:
> Hi Dimitrios,
>
> you're right, I was missing some annotations, now it's working.. There
> are some things I'm not sure how to specify - my model is created from
> XSD so the structure isn't what you'd normally expect. For instance, the
> model uses a separate class for labels and stores the labels in a mixed
> attribute which is a EFeatureMapEntry, to have it stored as XML element
> CDATA content.
>
> Do you have any pointers how to handle such stuff?
>
> Thanks,
> Marin


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #521634 is a reply to message #521621] Thu, 18 March 2010 11:02 Go to previous messageGo to next message
Marin  rli? is currently offline Marin rli?
Messages: 35
Registered: October 2009
Member
Dimitrios Kolovos wrote on Thu, 18 March 2010 06:10
Unfortunately, we've not used Eugenia with XSD-generated Ecore models
before so you're breaking new ground here Smile


Ah, lovely Smile
Quote:

In any case, even if something is not natively supported by the built-in annotations, if you
figure out how to do it in plain GMF, you can then use the approach
discussed in
http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
reproduce it within Eugenia.


Ok, thanks, I'll see what I can make of it! Smile

Cheers,
Marin.
Quote:

Marin Orlić wrote:
> Hi Dimitrios,
>
> you're right, I was missing some annotations, now it's working.. There
> are some things I'm not sure how to specify - my model is created from
> XSD so the structure isn't what you'd normally expect. For instance, the
> model uses a separate class for labels and stores the labels in a mixed
> attribute which is a EFeatureMapEntry, to have it stored as XML element
> CDATA content.
>
> Do you have any pointers how to handle such stuff?
>
> Thanks,
> Marin


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews

Re: Method 'getContainmentReferences' not found (190:38) [message #585308 is a reply to message #510597] Thu, 28 January 2010 11:16 Go to previous messageGo to next message
m kranz is currently offline m kranz
Messages: 69
Registered: January 2010
Member
Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
> Hi Marco,

hi dimitrios

thanks for your reply.

Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
> What exactly was the problem with the example in
> http://www.eclipse.org/gmt/epsilon/doc/eugenia/?


line 16 in the example looks like this:

"@gmf.compartment"

but i had to change it to:

"@gmf.compartment(foo="bar")"

Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
> Could you possibly share your .emf/.ecore model so that I can have a
> closer look?


i can send it to you per mail if you give me an adress. is there a way to send private messages in here?
Re: Method 'getContainmentReferences' not found (190:38) [message #585318 is a reply to message #585308] Thu, 28 January 2010 11:20 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

Please see comments below.

Marco.Kranz@fokus.fraunhofer.de wrote:
> Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
>> Hi Marco,
>
> hi dimitrios
>
> thanks for your reply.
>
> Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
>> What exactly was the problem with the example in
>> http://www.eclipse.org/gmt/epsilon/doc/eugenia/?
>
>
> line 16 in the example looks like this:
>
> "@gmf.compartment"
>
> but i had to change it to:
>
> "@gmf.compartment(foo="bar")"

You're right. I've patched Emfatic in my setup to accept annotations
without details and forgot to add the foo-bar dummy detail to the
compartment in the online example. I'll fix this shortly.

>
> Dimitrios Kolovos wrote on Wed, 27 January 2010 17:35
>> Could you possibly share your .emf/.ecore model so that I can have a
>> closer look?
>
>
> i can send it to you per mail if you give me an adress. is there a way
> to send private messages in here?
>

My email address is dskolovos gmail com

Cheers,
Dimitris

--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #586647 is a reply to message #510702] Tue, 23 February 2010 11:11 Go to previous messageGo to next message
As Sa is currently offline As Sa
Messages: 5
Registered: February 2010
Junior Member
Dear Marco and Dimitrios,

I have the same problem in "generate tool graph and map models" from the .ecore file.

Can you please help me ?

Cheers,

Asieh
Re: Method 'getContainmentReferences' not found (190:38) [message #586660 is a reply to message #586647] Tue, 23 February 2010 11:12 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Could you please send me your .emf metamodel (at dskolovos_gmail_com) so
that I can have a look?

Cheers,
Dimitris

As Sa wrote:
> Dear Marco and Dimitrios,
>
> I have the same problem in "generate tool graph and map models" from the
> .ecore file.
>
> Can you please help me ?
>
> Cheers,
>
> Asieh


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #587530 is a reply to message #516248] Wed, 17 March 2010 14:34 Go to previous messageGo to next message
Marin  rli? is currently offline Marin rli?
Messages: 35
Registered: October 2009
Member
Same problem :)

Ecore generated from XSD, I don't know if that makes a difference...
Should I send ecore and genmodel too?

Thanks,
Marin
Re: Method 'getContainmentReferences' not found (190:38) [message #587536 is a reply to message #587530] Wed, 17 March 2010 16:31 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marin,

Have you added the necessary @gmf.xxx annotations to your metamodel as
per
http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/?
If you've already done this, please send me your .ecore so that I can
have a look.

Cheers,
Dimitris

Marin Orlić wrote:
> Same problem :)
>
> Ecore generated from XSD, I don't know if that makes a difference...
> Should I send ecore and genmodel too?
>
> Thanks,
> Marin


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #587550 is a reply to message #521464] Thu, 18 March 2010 09:54 Go to previous messageGo to next message
Marin  rli? is currently offline Marin rli?
Messages: 35
Registered: October 2009
Member
Hi Dimitrios,

you're right, I was missing some annotations, now it's working..
There are some things I'm not sure how to specify - my model is created from XSD so the structure isn't what you'd normally expect. For instance, the model uses a separate class for labels and stores the labels in a mixed attribute which is a EFeatureMapEntry, to have it stored as XML element CDATA content.

Do you have any pointers how to handle such stuff?

Thanks,
Marin
Re: Method 'getContainmentReferences' not found (190:38) [message #587555 is a reply to message #587550] Thu, 18 March 2010 10:10 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marin,

Unfortunately, we've not used Eugenia with XSD-generated Ecore models
before so you're breaking new ground here :) In any case, even if
something is not natively supported by the built-in annotations, if you
figure out how to do it in plain GMF, you can then use the approach
discussed in
http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
reproduce it within Eugenia.

Cheers,
Dimitris

Marin Orlić wrote:
> Hi Dimitrios,
>
> you're right, I was missing some annotations, now it's working.. There
> are some things I'm not sure how to specify - my model is created from
> XSD so the structure isn't what you'd normally expect. For instance, the
> model uses a separate class for labels and stores the labels in a mixed
> attribute which is a EFeatureMapEntry, to have it stored as XML element
> CDATA content.
>
> Do you have any pointers how to handle such stuff?
>
> Thanks,
> Marin


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #587565 is a reply to message #521621] Thu, 18 March 2010 11:02 Go to previous messageGo to next message
Marin  rli? is currently offline Marin rli?
Messages: 35
Registered: October 2009
Member
Dimitrios Kolovos wrote on Thu, 18 March 2010 06:10
> Unfortunately, we've not used Eugenia with XSD-generated Ecore models
> before so you're breaking new ground here :)

Ah, lovely :)
Quote:
> In any case, even if something is not natively supported by the built-in annotations, if you
> figure out how to do it in plain GMF, you can then use the approach
> discussed in
> http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
> reproduce it within Eugenia.

Ok, thanks, I'll see what I can make of it! :)

Cheers,
Marin.
Quote:
> Marin Orlić wrote:
> > Hi Dimitrios,
> >
> > you're right, I was missing some annotations, now it's working.. There
> > are some things I'm not sure how to specify - my model is created from
> > XSD so the structure isn't what you'd normally expect. For instance, the
> > model uses a separate class for labels and stores the labels in a mixed
> > attribute which is a EFeatureMapEntry, to have it stored as XML element
> > CDATA content.
> >
> > Do you have any pointers how to handle such stuff?
> >
> > Thanks,
> > Marin
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Method 'getContainmentReferences' not found (190:38) [message #637042 is a reply to message #587565] Wed, 03 November 2010 22:15 Go to previous messageGo to next message
karim  is currently offline karim
Messages: 1
Registered: November 2010
Junior Member
I created .ecore file using ecore tools .ecorediagram. Then if i try to generate GMF tool, gram and model, I am having the same error. the .ecore file is automatically generate when i create the .ecorediagram file.
How can I get rid of this error?
thanks.
Re: Method 'getContainmentReferences' not found (190:38) [message #637059 is a reply to message #637042] Wed, 03 November 2010 23:30 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Karim,

Have you added the necessary annotations to your Ecore model as
discussed in
http://eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf-tuto rial/?

Cheers,
Dimitris

karim wrote:
> I created .ecore file using ecore tools .ecorediagram. Then if i try to
> generate GMF tool, gram and model, I am having the same error. the
> .ecore file is automatically generate when i create the .ecorediagram file.
> How can I get rid of this error?
> thanks.
Re: Method 'getContainmentReferences' not found (190:38) [message #686061 is a reply to message #510493] Tue, 21 June 2011 14:40 Go to previous messageGo to next message
romstek31 is currently offline romstek31
Messages: 3
Registered: June 2011
Junior Member
Hello,

for me i edit an emf model and i have errors :
- Method 'getAnnotationValue' not found (13:33)
- Method 'getContainmentReferences' not found (190:38)

i'm new in this technologie and i don't understand for what i've this errors

Thank's

ps: sorry for my bad english
Re: Method 'getContainmentReferences' not found (190:38) [message #686070 is a reply to message #686061] Tue, 21 June 2011 15:11 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi,

Could you please send us your .emf file at epsilon.devs (at) gmail.com so that we can have a look?

Cheers,
Dimitris
Re: Method 'getContainmentReferences' not found (190:38) [message #686072 is a reply to message #686070] Tue, 21 June 2011 15:26 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi Romain,

I'm afraid I can't reproduce this. I use the .emf file you sent, right-click on it and select "Generate GMF editor" using the latest version of Eugenia from http://download.eclipse.org/modeling/gmt/epsilon/interim/ and everything seems to be working as expected. Are you perhaps using an older version?

Cheers,
Dimitris
Re: Method 'getContainmentReferences' not found (190:38) [message #687884 is a reply to message #686072] Thu, 23 June 2011 12:56 Go to previous messageGo to next message
romstek31 is currently offline romstek31
Messages: 3
Registered: June 2011
Junior Member
So i'm installed the last version but i've an error


java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:686)
	at org.eclipse.emf.common.util.URI.createPlatformURI(URI.java:987)
	at org.eclipse.emf.common.util.URI.createPlatformResourceURI(URI.java:934)
	at org.eclipse.epsilon.emc.emf.EmfUtil.createURI(EmfUtil.java:82)
	at org.eclipse.epsilon.emc.emf.EmfModel.load(EmfModel.java:84)
	at org.eclipse.epsilon.eugenia.EugeniaActionDelegate.loadModel(EugeniaActionDelegate.java:211)
	at org.eclipse.epsilon.eugenia.Ecore2GenModelDelegate.getModels(Ecore2GenModelDelegate.java:45)
	at org.eclipse.epsilon.eugenia.EugeniaActionDelegate.runImpl(EugeniaActionDelegate.java:138)
	at org.eclipse.epsilon.eugenia.GenerateAllDelegate.generateGenmodel(GenerateAllDelegate.java:178)
	at org.eclipse.epsilon.eugenia.GenerateAllDelegate.runImpl(GenerateAllDelegate.java:96)
	at org.eclipse.epsilon.eugenia.GenerateAllDelegate$1.run(GenerateAllDelegate.java:50)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


and the installation of epsilon core (incubation) has an error when she's at 100% and says me that :

  Cannot connect to keystore.
  This trust engine is read only.
  Cannot complete the install because one or more required items could not be found.
    Software currently installed: Epsilon Core (Incubation) 0.9.0.201106111013 (org.eclipse.epsilon.feature.feature.group 0.9.0.201106111013)
    Missing requirement: EUnit EMF Compare Integration (Incubation) 0.9.0.201106111013 (org.eclipse.epsilon.eunit.dt.diff.emf 0.9.0.201106111013) requires 'bundle org.eclipse.emf.compare.ui 0.0.0' but it could not be found
    Cannot satisfy dependency:
      From: Epsilon Core (Incubation) 0.9.0.201106111013 (org.eclipse.epsilon.feature.feature.group 0.9.0.201106111013)
      To: org.eclipse.epsilon.eunit.dt.diff.emf [0.9.0.201106111013]

Re: Method 'getContainmentReferences' not found (190:38) [message #688341 is a reply to message #687884] Fri, 24 June 2011 13:28 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi Romain,

It seems that your Eclipse installation doesn't include EMF Compare. Could you perhaps try to install EMF Compare first or grab a copy of the Eclipse Modelling distribution from here: http://www.eclipse.org/gmt/epsilon/download ? Please let me know if the problem persists.

Cheers,
Dimitris
Re: Method 'getContainmentReferences' not found (190:38) [message #689233 is a reply to message #688341] Mon, 27 June 2011 08:02 Go to previous messageGo to next message
romstek31 is currently offline romstek31
Messages: 3
Registered: June 2011
Junior Member
Hi
When i try to install your link , all of the elements was already install
Re: Method 'getContainmentReferences' not found (190:38) [message #689516 is a reply to message #689233] Mon, 27 June 2011 18:53 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi Romain,

Just to clarify, what I suggested was to grab a copy of the modelling distribution (e.g. http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-modeling-helios-SR2-incubation-win32.zip for Windows), not to try to reinstall Epsilon from the update sites available on that page.

Cheers,
Dimitris
Re: Method 'getContainmentReferences' not found (190:38) [message #720292 is a reply to message #510493] Tue, 30 August 2011 10:26 Go to previous messageGo to next message
Dominic Meier is currently offline Dominic Meier
Messages: 1
Registered: August 2011
Junior Member
Hi Dimitris

I faced the same Problem. I use Helios and I tried it as well in Indigo, or starting up from (e.g. eclipse-modeling-helios-SR2-incubation-win32.zip). Allways I got the exception: Method 'getContainmentReferences' not found (190:38). At the end i even checkout the svn source an tried it with that one (I thought i might find the Problem by debuging.. but i fear i need even weeks to unterstand the source).

My model is from the paper 2010-Kolovos-EuGENia.pdf and if there are any new ideas to solve it, i would be happy

Thanks dome
Re: Method 'getContainmentReferences' not found (190:38) [message #721180 is a reply to message #720292] Thu, 01 September 2011 06:35 Go to previous message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi,

I assume you're referring to this: http://ulir.ul.ie/bitstream/10344/718/2/2010-Kolovos-EuGENia.pdf

I suspect that the problem is that you're using the undecorated version of the metamodel of Listing 1.1 while you should be using the one of Listing 1.2.

Cheers,
Dimitris
Previous Topic:Using two models in a single project
Next Topic:HUTN load multiple metamodels
Goto Forum:
  


Current Time: Thu Oct 30 14:36:22 GMT 2014

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

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