Some random errors [message #1706168] |
Mon, 24 August 2015 07:02  |
Eclipse User |
|
|
|
Hi all,
I've been experimenting some random errors like this one:
"Severity Description Element Parent Type
Error The 'PropertyCallExp::NonStaticSourceTypeIsConformant' constraint
is violated for '1_.qualifiedName' <<FlowPort, MyPort>> <Port>
flowport2 RootElement::Element1 EMF Problem
I validate the model and sometimes I get some of these messages and
sometimes no. So far, I have not been able to figure our where is the
origin of this problem.
I'm working with a profile with lots of OCL in Eclipse Mars and Papyrus
1.1.0
Does anybody has a clue about how to avoid this?
Might it be related to this bug?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465896
Best,
Victor
|
|
|
|
Re: Some random errors [message #1707093 is a reply to message #1706172] |
Wed, 02 September 2015 04:59  |
Eclipse User |
|
|
|
Thanks Ed.
By now closing the model and making the validation several times usually
works at some point. I'll take a look at Xtext as you suggest.
El 24/08/2015 a las 14:23, Ed Willink escribió:
> Hi
>
> I expect that the problem is due to the Xtext builder that is not
> compatible with OCL's usage of Resources.
>
> I find that problems go away if you avoid having an Xtext nature or at
> least avoid an Xtext builder where there are OCL files.
>
> I had a quick go at disabling the Xtext functionality, but there's no
> documentation and I got lost in my empirical discoveries.
>
> Regards
>
> Ed Willink
>
>
> On 24/08/2015 12:02, V. López wrote:
>> Hi all,
>> I've been experimenting some random errors like this one:
>>
>> "Severity Description Element Parent Type
>> Error The 'PropertyCallExp::NonStaticSourceTypeIsConformant'
>> constraint is violated for '1_.qualifiedName' <<FlowPort, MyPort>>
>> <Port> flowport2 RootElement::Element1 EMF Problem
>>
>> I validate the model and sometimes I get some of these messages and
>> sometimes no. So far, I have not been able to figure our where is the
>> origin of this problem.
>>
>> I'm working with a profile with lots of OCL in Eclipse Mars and
>> Papyrus 1.1.0
>>
>> Does anybody has a clue about how to avoid this?
>>
>> Might it be related to this bug?
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=465896
>>
>> Best,
>>
>> Victor
>
|
|
|
Powered by
FUDForum. Page generated in 0.24711 seconds