Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCLinEcore Problem
OCLinEcore Problem [message #1499775] Fri, 05 December 2014 11:55 Go to next message
Bruno Costa is currently offline Bruno CostaFriend
Messages: 10
Registered: November 2014
Junior Member
Hi,

I have added a set of ocl constraints to my metamodel (OCLinEcore) in order to
generate an editor and export the "Deployable plug-ins and fragments". If I run the editor, the OCL constrains works well, but, if I generate the plugins, install them in Eclipse and try to validate some diagram, an error occurs: "An exception occurred while delegating evaluation for the <invariant_name> constraint on <class_name>: java.lang.IllegalStateException:nul".

Do you guys know how can I solve this?
Re: OCLinEcore Problem [message #1499928 is a reply to message #1499775] Fri, 05 December 2014 14:30 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5573
Registered: July 2009
Senior Member
Hi

Probably, but since you decline to take any notice of
https://wiki.eclipse.org/OCL/ForumNetiquette
that I referred you to previously, you probably won't understand why I
cannot help.

Regards

Ed Willink

On 05/12/2014 11:55, Bruno Costa wrote:
> Hi,
>
> I have added a set of ocl constraints to my metamodel (OCLinEcore) in
> order to generate an editor and export the "Deployable plug-ins and
> fragments". If I run the editor, the OCL constrains works well, but, if
> I generate the plugins, install them in Eclipse and try to validate some
> diagram, an error occurs: "An exception occurred while delegating
> evaluation for the <invariant_name> constraint on <class_name>:
> java.lang.IllegalStateException:nul".
>
> Do you guys know how can I solve this?
Re: OCLinEcore Problem [message #1500088 is a reply to message #1499928] Fri, 05 December 2014 17:29 Go to previous messageGo to next message
Bruno Costa is currently offline Bruno CostaFriend
Messages: 10
Registered: November 2014
Junior Member
I read the OCL/ForumNetiquette... you need more details about my problem, right?
Well, about Eclipse: Eclipse Modeling Tools; Version: Luna Service Release 1 (4.4.1); Build id: 20140925-1800. OCL Examples and Editors SDK 3.4.0.v20140609-1793. Run configurations: -XX:PermSize=64M -XX:MaxPermSize=128M -Xms512M -Xmx1024M

I think is that...
Re: OCLinEcore Problem [message #1500097 is a reply to message #1500088] Fri, 05 December 2014 17:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5573
Registered: July 2009
Senior Member
Hi

Read it again.

If you can't figure it out, I won't be able to help you, and you should
look for another hobby/profession.

Regards

Ed Willink


On 05/12/2014 17:29, Bruno Costa wrote:
> I read the OCL/ForumNetiquette... you need more details about my
> problem, right? Well, about Eclipse: Eclipse Modeling Tools; Version:
> Luna Service Release 1 (4.4.1); Build id: 20140925-1800. OCL Examples
> and Editors SDK 3.4.0.v20140609-1793. Run configurations:
> -XX:PermSize=64M -XX:MaxPermSize=128M -Xms512M -Xmx1024M
>
> I think is that...
Re: OCLinEcore Problem [message #1500120 is a reply to message #1500097] Fri, 05 December 2014 18:02 Go to previous message
Bruno Costa is currently offline Bruno CostaFriend
Messages: 10
Registered: November 2014
Junior Member
Hi Edward,

I've read it and understood it completely Smile

It's just that with the information that I provided maybe someone that already faced the same problem could rapidly answer (as many other topics and forums). But OK, I appreciate your tip. I'll let the question open for a while if someone has already faced it. After, when I have more time, I will provide all information requested in OCL/ForumNetiquette.

Thank you for your attention.

[Updated on: Fri, 05 December 2014 18:36]

Report message to a moderator

Previous Topic:Problem with Generated editor and ocl constraints
Next Topic:Valuation of forAll in combination with @pre and check of vanished items
Goto Forum:
  


Current Time: Wed Jan 17 05:42:44 GMT 2018

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

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