Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Xcore](Receive an error while attempting to export a .Xcore file from a .genmodel similar to the tutorial)
[Xcore] [message #997347] Sun, 06 January 2013 12:33 Go to next message
PD Counts is currently offline PD Counts
Messages: 7
Registered: August 2012
Junior Member
Request: Could somebody please give me some guidance on what I am doing wrong?

Thanks,
PD

Problem: Receive an error while attempting to export a .Xcore file from a .genmodel, similar to the tutorial--step #7. Converting a GenModel to an Xcore Model

-------
Environment:
Clean install of Eclipse Classis 4.2.1
Added http://download.eclipse.org/modeling/emf/emf/updates/nightly/ and
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/
as Available Software Sites

Then selected 'EMF Xcore' (and only this) for installation ( version: 1.1.0.v20130104-2029)
-------
Attempts
I have tried several different genmodels(uma.genmode from org.eclipse.epf project , JavaVMTypes.genmodel from Xtext project) and receive the following error:

In a Problem Occurred message box

'Save' has encountered a problem
An internal error has occurred during: "Save".

An internal error occurred during: "Save".
No EObjectDescription could be found in Scope XAnnotation.source for XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'
Semantic Object: XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
Re: [Xcore] [message #997649 is a reply to message #997347] Mon, 07 January 2013 01:30 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I noticed this too and fixed it with <br>
<blockquote><a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2">https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2</a><br>
</blockquote>
Or at least I thought I did, but it looks like you have a build that
would contain this fix, so I need to try to reproduce your
problem...  Unfortunately the behavior in my development environment
(in a host Eclipse IDE where Xcore is in the hosting workspace) is
significantly different from it is in an actual install. :-(<br>
<br>
Please open a bugzilla and I'll look at it today...<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/01/2013 6:33 PM, PD Counts wrote:<br>
</div>
<blockquote cite="mid:kccch9$rfs$1@xxxxxxxxe.org" type="cite">Request: 
Could somebody please give me some guidance on what I am doing
wrong?
<br>
<br>
Thanks,
<br>
PD
<br>
<br>
Problem:  Receive an error while attempting to export a .Xcore
file from a .genmodel, similar to the tutorial--step #7.
Converting a GenModel to an Xcore Model
<br>
<br>
-------
<br>
Environment:
<br>
Clean install of Eclipse Classis 4.2.1
<br>
Added
<a class="moz-txt-link-freetext" href="http://download.eclipse.org/modeling/emf/emf/updates/nightly/">http://download.eclipse.org/modeling/emf/emf/updates/nightly/</a>  and
<a class="moz-txt-link-freetext" href="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/">http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/</a>
<br>
as Available Software Sites
<br>
<br>
Then selected   'EMF Xcore'   (and only this) for installation (
version:   1.1.0.v20130104-2029)
<br>
-------
<br>
Attempts
<br>
I have tried several different genmodels(uma.genmode from
org.eclipse.epf  project , JavaVMTypes.genmodel  from Xtext
project) and receive the following error:
<br>
<br>
In a Problem Occurred message box
<br>
<br>
'Save' has encountered a problem
<br>
An internal error has occurred during: "Save".
<br>
<br>
An internal error occurred during: "Save".
<br>
No EObjectDescription could be found in Scope XAnnotation.source
for
XPackage'xcore.lang'.annotationDirectives[0]-&gt;XAnnotationDirective'Ecore'<br>
Semantic Object:
XPackage'org.eclipse.epf.xml.uma'.annotations[0]-&gt;XAnnotation
<br>
<br>
</blockquote>
<br>
</body>
</html>
Re: [Xcore] [message #997650 is a reply to message #997649] Mon, 07 January 2013 02:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I tracked the problem down to the fact that the URI mappings need to
load the Ecore/GenModels mess up the Xcore serializer, i.e., the
serializer normalizes URIs and then can't find them in the Xtext
index, which is based on unnormalized logical platform:/resource
URIs.  Please open a bugzilla and I'll commit the fix.<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/01/2013 7:30 AM, Ed Merks wrote:<br>
</div>
<blockquote cite="mid:kcdq2c$8dv$1@xxxxxxxxe.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
I noticed this too and fixed it with <br>
<blockquote><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2">https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2</a><br>
</blockquote>
Or at least I thought I did, but it looks like you have a build
that would contain this fix, so I need to try to reproduce your
problem...  Unfortunately the behavior in my development
environment (in a host Eclipse IDE where Xcore is in the hosting
workspace) is significantly different from it is in an actual
install. :-(<br>
<br>
Please open a bugzilla and I'll look at it today...<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/01/2013 6:33 PM, PD Counts
wrote:<br>
</div>
<blockquote cite="mid:kccch9$rfs$1@xxxxxxxxe.org" type="cite">Request: 

Could somebody please give me some guidance on what I am doing
wrong? <br>
<br>
Thanks, <br>
PD <br>
<br>
Problem:  Receive an error while attempting to export a .Xcore
file from a .genmodel, similar to the tutorial--step #7.
Converting a GenModel to an Xcore Model <br>
<br>
------- <br>
Environment: <br>
Clean install of Eclipse Classis 4.2.1 <br>
Added <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/emf/emf/updates/nightly/">http://download.eclipse.org/modeling/emf/emf/updates/nightly/</a> 
and
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/">http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/</a>
<br>
as Available Software Sites <br>
<br>
Then selected   'EMF Xcore'   (and only this) for installation (
version:   1.1.0.v20130104-2029) <br>
------- <br>
Attempts <br>
I have tried several different genmodels(uma.genmode from
org.eclipse.epf  project , JavaVMTypes.genmodel  from Xtext
project) and receive the following error: <br>
<br>
In a Problem Occurred message box <br>
<br>
'Save' has encountered a problem <br>
An internal error has occurred during: "Save". <br>
<br>
An internal error occurred during: "Save". <br>
No EObjectDescription could be found in Scope XAnnotation.source
for
XPackage'xcore.lang'.annotationDirectives[0]-&gt;XAnnotationDirective'Ecore'<br>
Semantic Object:
XPackage'org.eclipse.epf.xml.uma'.annotations[0]-&gt;XAnnotation
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
Re: [Xcore] [message #997657 is a reply to message #997650] Mon, 07 January 2013 14:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I committed the fix to
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=397592">https://bugs.eclipse.org/bugs/show_bug.cgi?id=397592</a><br>
<br>
<div class="moz-cite-prefix">On 07/01/2013 8:58 AM, Ed Merks wrote:<br>
</div>
<blockquote cite="mid:kcdv6d$9tq$1@xxxxxxxxe.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
I tracked the problem down to the fact that the URI mappings need
to load the Ecore/GenModels mess up the Xcore serializer, i.e.,
the serializer normalizes URIs and then can't find them in the
Xtext index, which is based on unnormalized logical
platform:/resource URIs.  Please open a bugzilla and I'll commit
the fix.<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/01/2013 7:30 AM, Ed Merks
wrote:<br>
</div>
<blockquote cite="mid:kcdq2c$8dv$1@xxxxxxxxe.org" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
I noticed this too and fixed it with <br>
<blockquote><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2">https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2</a><br>
</blockquote>
Or at least I thought I did, but it looks like you have a build
that would contain this fix, so I need to try to reproduce your
problem...  Unfortunately the behavior in my development
environment (in a host Eclipse IDE where Xcore is in the hosting
workspace) is significantly different from it is in an actual
install. :-(<br>
<br>
Please open a bugzilla and I'll look at it today...<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/01/2013 6:33 PM, PD Counts
wrote:<br>
</div>
<blockquote cite="mid:kccch9$rfs$1@xxxxxxxxe.org" type="cite">Request: 


Could somebody please give me some guidance on what I am doing
wrong? <br>
<br>
Thanks, <br>
PD <br>
<br>
Problem:  Receive an error while attempting to export a .Xcore
file from a .genmodel, similar to the tutorial--step #7.
Converting a GenModel to an Xcore Model <br>
<br>
------- <br>
Environment: <br>
Clean install of Eclipse Classis 4.2.1 <br>
Added <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/emf/emf/updates/nightly/">http://download.eclipse.org/modeling/emf/emf/updates/nightly/</a> 
and <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/">http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/</a>
<br>
as Available Software Sites <br>
<br>
Then selected   'EMF Xcore'   (and only this) for installation
( version:   1.1.0.v20130104-2029) <br>
------- <br>
Attempts <br>
I have tried several different genmodels(uma.genmode from
org.eclipse.epf  project , JavaVMTypes.genmodel  from Xtext
project) and receive the following error: <br>
<br>
In a Problem Occurred message box <br>
<br>
'Save' has encountered a problem <br>
An internal error has occurred during: "Save". <br>
<br>
An internal error occurred during: "Save". <br>
No EObjectDescription could be found in Scope
XAnnotation.source for
XPackage'xcore.lang'.annotationDirectives[0]-&gt;XAnnotationDirective'Ecore'<br>
Semantic Object:
XPackage'org.eclipse.epf.xml.uma'.annotations[0]-&gt;XAnnotation
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
Re: [Xcore] [message #998140 is a reply to message #997347] Wed, 09 January 2013 07:37 Go to previous messageGo to next message
PD Counts is currently offline PD Counts
Messages: 7
Registered: August 2012
Junior Member
Ed,
Thank you for fixing this.
I will confirm the fix later today.

Thanks Again,
PD
Re: [Xcore] [message #998408 is a reply to message #997347] Wed, 09 January 2013 18:34 Go to previous messageGo to next message
PD Counts is currently offline PD Counts
Messages: 7
Registered: August 2012
Junior Member
Ed,

Unfortunately, when I re-tried converting a .genmodel to .xcore, it still did not work.

I used the same procedure for testing as initially used; the only difference being the 'EMF Xcore' is Version 1.1.0v20130108-1343.

Is it possible that by using the nightly build I am not picking up the fix committed to the master?

Is there something else I can try/do?

Thanks,
PD

Problem: Receive an error while attempting to export a .Xcore file from a .genmodel, similar to the tutorial--step #7. Converting a GenModel to an Xcore Model

-------
Environment:
Clean install of Eclipse Classis 4.2.1
Added http://download.eclipse.org/modeling/emf/emf/updates/nightly/ and
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/
as Available Software Sites

Then selected 'EMF Xcore' (and only this) for installation ( version: 1.1.0.v20130104-2029)
-------
Attempts
I have tried several different genmodels(uma.genmode from org.eclipse.epf project , JavaVMTypes.genmodel from Xtext project) and receive the following error:

In a Problem Occurred message box

'Save' has encountered a problem
An internal error has occurred during: "Save".

An internal error occurred during: "Save".
No EObjectDescription could be found in Scope XAnnotation.source for XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'
Semantic Object: XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
Re: [Xcore] [message #998539 is a reply to message #998408] Thu, 10 January 2013 02:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
PD,

Yes, I'm able to reproduce that install from those sites. I'll
investigate further...


On 10/01/2013 12:34 AM, PD Counts wrote:
> Ed,
>
> Unfortunately, when I re-tried converting a .genmodel to .xcore, it
> still did not work.
>
> I used the same procedure for testing as initially used; the only
> difference being the 'EMF Xcore' is Version 1.1.0v20130108-1343.
>
> Is it possible that by using the nightly build I am not picking up the
> fix committed to the master?
>
> Is there something else I can try/do?
>
> Thanks,
> PD
>
> Problem: Receive an error while attempting to export a .Xcore file
> from a .genmodel, similar to the tutorial--step #7. Converting a
> GenModel to an Xcore Model
>
> -------
> Environment:
> Clean install of Eclipse Classis 4.2.1
> Added http://download.eclipse.org/modeling/emf/emf/updates/nightly/
> and
> http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/
> as Available Software Sites
>
> Then selected 'EMF Xcore' (and only this) for installation ( version:
> 1.1.0.v20130104-2029)
> -------
> Attempts
> I have tried several different genmodels(uma.genmode from
> org.eclipse.epf project , JavaVMTypes.genmodel from Xtext project) and
> receive the following error:
>
> In a Problem Occurred message box
>
> 'Save' has encountered a problem
> An internal error has occurred during: "Save".
>
> An internal error occurred during: "Save".
> No EObjectDescription could be found in Scope XAnnotation.source for
> XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'
> Semantic Object:
> XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
Re: [Xcore] [message #998550 is a reply to message #998539] Thu, 10 January 2013 03:10 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
Oops, I missed one line (the most important one!) copying the code from
my test environment to my development environment:

http://git.eclipse.org/c/emf/org.eclipse.emf.git/commit/?id=c6d19fb5092baa0fc0b3ba0cf16ded1bf8b2a058

That's committed now so the next build will really contain the fix. Sorry.


On 10/01/2013 8:43 AM, Ed Merks wrote:
> PD,
>
> Yes, I'm able to reproduce that install from those sites. I'll
> investigate further...
>
>
> On 10/01/2013 12:34 AM, PD Counts wrote:
>> Ed,
>>
>> Unfortunately, when I re-tried converting a .genmodel to .xcore, it
>> still did not work.
>>
>> I used the same procedure for testing as initially used; the only
>> difference being the 'EMF Xcore' is Version 1.1.0v20130108-1343.
>>
>> Is it possible that by using the nightly build I am not picking up
>> the fix committed to the master?
>>
>> Is there something else I can try/do?
>>
>> Thanks,
>> PD
>>
>> Problem: Receive an error while attempting to export a .Xcore file
>> from a .genmodel, similar to the tutorial--step #7. Converting a
>> GenModel to an Xcore Model
>>
>> -------
>> Environment:
>> Clean install of Eclipse Classis 4.2.1
>> Added http://download.eclipse.org/modeling/emf/emf/updates/nightly/
>> and
>> http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/
>> as Available Software Sites
>>
>> Then selected 'EMF Xcore' (and only this) for installation ( version:
>> 1.1.0.v20130104-2029)
>> -------
>> Attempts
>> I have tried several different genmodels(uma.genmode from
>> org.eclipse.epf project , JavaVMTypes.genmodel from Xtext project)
>> and receive the following error:
>>
>> In a Problem Occurred message box
>>
>> 'Save' has encountered a problem
>> An internal error has occurred during: "Save".
>>
>> An internal error occurred during: "Save".
>> No EObjectDescription could be found in Scope XAnnotation.source for
>> XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'
>> Semantic Object:
>> XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
>
Previous Topic:Code Generator broken in EMF 2.8.x and Eclipse 3.8 / 4.2?
Next Topic:Loading resource from jar file
Goto Forum:
  


Current Time: Fri Aug 22 02:05:37 EDT 2014

Powered by FUDForum. Page generated in 0.04689 seconds