Closed smithdtyler closed 4 years ago
Tagging @Etienne13
Does this work in any older OSATE version?
Hi Tyler,
I will investigate the reasons of the crash, which seems to be a bug. However, I see some incorrect usage of the BA in your AADL example:
Etienne.
Does this work in any older OSATE version?
In 2.5.2 this file causes recurring xtext pop-up warning dialogs, but the AADL source is displayed.
The exception disappears after adding && !resolvedRef.isEmpty()
to the condition in the if-statements on lines 574 and 1055 of AadlBaTypeChecker.java.
However, this doesn't seem to be the correct fix because no errors are displayed in the editor even though there should be errors according to Etienne's comment above.
Should be fixed after integration of PR #2069
merged
Summary
The xtext editor crashes hard when the behavior annex is used with features, displaying only "Index: 0, Size: 0"
Expected and Current Behavior
Expected: Show the AADL model.
Actual:
Steps to Reproduce
Open create a new .aadl file, put this in it:
Environment