TelluIoT / ThingML

The ThingML modelling language
https://github.com/TelluIoT/ThingML
Apache License 2.0
101 stars 32 forks source link

Stackoverflow in the Eclipse editor when the user creates includes cycles in her model #255

Closed fungiboletus closed 5 years ago

fungiboletus commented 5 years ago

In Eclipse, create a new ThingML file and write the following piece of art :

thing Canard includes Canard

As you finish to write the second Canard, you get the following error message:

org.eclipse.xtext.validation.CompositeEValidator  - Error executing EValidator

java.lang.StackOverflowError

It may also happen when the thing is not a Canard.

brice-morin commented 5 years ago

OK, the problem is not in the checker, but in some derived properties not detecting cycles...