HEADS-project / heads_ide

http://heads-project.eu
9 stars 2 forks source link

Stackoverflow when opening thingml file #96

Closed kehusa closed 8 years ago

kehusa commented 8 years ago

When opening: training/3.Wrapping_ThingML_into_Kevoree/3.3_Contrib/Tellu/Field-node/_javascript/SensorBMP280JS.thingml

The current stacktrace is produced:

ENTRY org.eclipse.ui 4 4 2016-08-04 09:05:06.220
!MESSAGE Unable to create part

!ENTRY org.eclipse.ui.workbench.texteditor 4 0 2016-08-04 09:05:06.224
!MESSAGE Editor could not be initialized.
!STACK 0
java.lang.StackOverflowError
    at org.sintef.thingml.impl.AnnotatedElementImpl.eSet(AnnotatedElementImpl.java:133)
    at org.sintef.thingml.impl.SourceImpl.eSet(SourceImpl.java:131)
    at org.sintef.thingml.impl.SimpleSourceImpl.eSet(SimpleSourceImpl.java:157)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1071)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1095)
    at org.sintef.thingml.impl.ThingMLElementImpl.eSet(ThingMLElementImpl.java:130)
    at org.sintef.thingml.impl.AnnotatedElementImpl.eSet(AnnotatedElementImpl.java:133)
    at org.sintef.thingml.impl.SourceImpl.eSet(SourceImpl.java:131)
    at org.sintef.thingml.impl.SimpleSourceImpl.eSet(SimpleSourceImpl.java:157)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1071)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1095)
    at org.sintef.thingml.impl.ThingMLElementImpl.eSet(ThingMLElementImpl.java:130)
.....
brice-morin commented 8 years ago

Seems like yet another problem with the parser... @ffleurey you know what to do when you come back from holidays :-)

brice-morin commented 8 years ago

Well, everything works in development mode when I run our plugins as Eclipse application... But when I update my HEADS IDE, it still does not work... Though it should be the very same code...

brice-morin commented 8 years ago

Should now be fixed.

Note that there will be regressions in CEP for C/Arduino, as the annotations on CEP sources were crashing the whole parser.

kehusa commented 8 years ago

Worked with last version :-)

2016-08-05 13:50 GMT+02:00 Brice Morin notifications@github.com:

Should now be fixed.

Note that there will be regressions in CEP for C/Arduino, as the annotations on CEP sources were crashing the whole parser.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HEADS-project/heads_ide/issues/96#issuecomment-237831217, or mute the thread https://github.com/notifications/unsubscribe-auth/AIN551jc4o1pwyqFFyzwcLOvfME-ugaAks5qcyN4gaJpZM4JcZ9g .

| Knut Eilif Husa | Tellu AS | Lensmannslia 4, 1386 Asker - NORWAY| Direct: +47 452 49496 | www.tellu.no |

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.