Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Problem opening genmodel file in the Eclipse editor
Problem opening genmodel file in the Eclipse editor [message #422203] Mon, 25 August 2008 14:46 Go to next message
Paul Reiners is currently offline Paul ReinersFriend
Messages: 19
Registered: July 2009
Junior Member
I'm having problems opening a .genmodel file in the Eclipse editor. I
get the following errors:

Description Resource Path Location Type
Problems encountered in the model. There may not be an operation
'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/getSelectorSelectionTable'
with the same signature as an accessor method for feature
'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/selectorSelectionTable'
sel.ecore com.acme.selector.model/src/model Unknown EMF Problem
Problems encountered in the model. There may not be an operation
'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/setSelectorSelectionTableName'
with the same signature as an accessor method for feature
'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/selectorSelectionTableName'
sel.ecore com.acme.selector.model/src/model Unknown EMF Problem

Has anyone ever seen a problem like this or know how to fix it?
Re: Problem opening genmodel file in the Eclipse editor [message #422208 is a reply to message #422203] Mon, 25 August 2008 18:26 Go to previous message
Marcelo Paternostro is currently offline Marcelo PaternostroFriend
Messages: 602
Registered: July 2009
Senior Member
Hi Paul,

This is telling you that the ecore model associated with the genmodel
you've opened is not correct (in this case, you have operations with
names that collide with the accessors generated into the Java code).
Fixing the ecore file (by, for example, removing the operations) will
cause the problem to go away.

Btw, look at the bottom of the genmodel editor. You will probably see
other tabs available there...

Cheers,
Marcelo

Paul Reiners wrote:
> I'm having problems opening a .genmodel file in the Eclipse editor. I
> get the following errors:
>
> Description Resource Path Location Type
> Problems encountered in the model. There may not be an operation
> 'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/getSelectorSelectionTable'
> with the same signature as an accessor method for feature
> 'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/selectorSelectionTable'
> sel.ecore com.acme.selector.model/src/model Unknown EMF Problem
> Problems encountered in the model. There may not be an operation
> 'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/setSelectorSelectionTableName'
> with the same signature as an accessor method for feature
> 'platform:/resource/com.acme.selector.model/src/model/sel.ec ore#//SelectorComponentDef/selectorSelectionTableName'
> sel.ecore com.acme.selector.model/src/model Unknown EMF Problem
>
> Has anyone ever seen a problem like this or know how to fix it?
Previous Topic:[CDO] Export feature
Next Topic:EAnnotation source
Goto Forum:
  


Current Time: Mon Sep 23 13:28:22 GMT 2024

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

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

Back to the top