Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Illegal argument exception for "Name" property
Illegal argument exception for "Name" property [message #1742594] Tue, 06 September 2016 00:43 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
In my metamodel, the name is of String type.

I always see the "IllegalArgumentException" in the task bar, when I am in the property value box. I cannot name my objects at all.

I had same problem with the "ID" property, but then I changed the "ID-type" from String to Integer. Then it worked.

I do not know why I have this problem.

Please see the attached image.


Help me. Confused
  • Attachment: ecf.png
    (Size: 53.78KB, Downloaded 230 times)
Re: Illegal argument exception for "Name" property [message #1742616 is a reply to message #1742594] Tue, 06 September 2016 07:46 Go to previous message
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
which datatype did you pick for the "name"' property exactly ? You should probably pick EString (and not "String") or EInteger (and not "Integer") which are supposed to be in the proposals.

http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Previous Topic:Creating an "instance editor" ontop of ECore-model
Next Topic:EAttribute "ID" with Auto Increment
Goto Forum:
  


Current Time: Fri Apr 26 04:56:47 GMT 2024

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

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

Back to the top