Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » ECPProject(Modifying ECPProject Contents)
ECPProject [message #1695476] Fri, 15 May 2015 05:48 Go to next message
reza khalily is currently offline reza khalilyFriend
Messages: 1
Registered: May 2015
Junior Member
i try to add new EObject to a created ecpproject through getContents() method. But get following exception:
at org.eclipse.emf.common.util.ECollections$UnmodifiableEList.add(ECollections.java:354)
at richmodeler.app.handlers.NewSchemaHandler.execute(NewSchemaHandler.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
thanks from your attention.
Re: ECPProject [message #1695610 is a reply to message #1695476] Mon, 18 May 2015 05:38 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

which data provider are you using? EMFStore, Workspace or CDO?

Best regards

Jonas

Am 15.05.2015 um 17:15 schrieb reza khalily:
> i try to add new EObject to a created ecpproject through getContents()
> method. But get following exception:
> at
> org.eclipse.emf.common.util.ECollections$UnmodifiableEList.add(ECollections.java:354)
>
> at
> richmodeler.app.handlers.NewSchemaHandler.execute(NewSchemaHandler.java:48)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
>
> thanks from your attention.


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Unable to locate installable unit
Next Topic:[Teneo] Make Teneo/Hibernate work with jcl-over-slf4j replacing org.apache.commons.logging
Goto Forum:
  


Current Time: Sat Jun 06 06:04:53 GMT 2020

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

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

Back to the top