Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EVL validation is working, EMF is not
EVL validation is working, EMF is not [message #582862] Tue, 17 November 2009 10:43 Go to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi all,

I've implemented EVL validation in my GMF application, I've difined my own rules in *.evl file in an external plugin (as I read in http://www.eclipse.org/gmt/epsilon/doc/articles/evl-gmf-inte gration/ ): it's working fine, but on my console i got the following:

java.lang.NullPointerException
at org.eclipse.epsilon.emc.emf.EmfUtil.getEStructuralFeature(Em fUtil.java:50)
at org.eclipse.epsilon.emc.emf.AbstractEmfModel.knowsAboutPrope rty(AbstractEmfModel.java:137)
[...]

and the rules implemented at EMF Model level are not respected; anyone knows about that problem?

Regards,
Giovanni.
Re: EVL validation is working, EMF is not [message #582885 is a reply to message #582862] Tue, 17 November 2009 10:48 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

The EVL/EMF integration has been implemented to respect existing EMF
validators. Could you possibly share a minimal configuration that
reproduces this problem so that I can have a closer look?

Cheers,
Dimitris

giovanni wrote:
> Hi all,
>
> I've implemented EVL validation in my GMF application, I've difined my
> own rules in *.evl file in an external plugin (as I read in
> http://www.eclipse.org/gmt/epsilon/doc/articles/evl-gmf-inte gration/ ):
> it's working fine, but on my console i got the following:
>
> java.lang.NullPointerException
> at org.eclipse.epsilon.emc.emf.EmfUtil.getEStructuralFeature(Em
> fUtil.java:50)
> at org.eclipse.epsilon.emc.emf.AbstractEmfModel.knowsAboutPrope
> rty(AbstractEmfModel.java:137)
> [...]
>
> and the rules implemented at EMF Model level are not respected; anyone
> knows about that problem?
>
> Regards,
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:EAnnotation details
Next Topic:Different diagram for one metamodel (ex Architectural and Type Diagram)
Goto Forum:
  


Current Time: Sun Oct 26 04:34:06 GMT 2014

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

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