Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AADL file does not open in Editor when there is a Syntax error on subcomponent type and BA clause in Component #2401

Closed
dblouin opened this issue Jul 29, 2020 · 0 comments · Fixed by #2412
Assignees
Milestone

Comments

@dblouin
Copy link
Contributor

dblouin commented Jul 29, 2020

Summary

The following AADL file does not open in the OSATE AADL textual editor due to a simple syntax error. The editor crashes before rendering the file.

Expected and Current Behavior

Editor should open normally and the syntax error should be marked.

Steps to Reproduce

  1. Create an AADL file with the code below in OSATE
  2. Open the file with the AADL textual editor
package test
public
	system test
	end test;

	subprogram My_Subprogram
		features
			my_par: out parameter My_Datatype;
	end My_Subprogram;

	system implementation test.impl
		subcomponents
			sub: data My_Datatyp; --syntax error causing the editor to crash
		annex behavior_specification {**
         states
            init_state : initial complete state;
            final_state : final state;
          transitions
            dispatchTransition : init_state -[on dispatch]-> init_state {
              My_Subprogram ! (sub)
            };
        **};
	end test.impl;

	data My_Datatype
	end My_Datatype;
end test;

Environment

  • OSATE Version: 2.6.0 V Final
  • Operating System: Windows 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants