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

Exception when serializing EMV2 annex #2648

philip-alldredge opened this issue Apr 28, 2021 · 1 comment

Exception when serializing EMV2 annex #2648

philip-alldredge opened this issue Apr 28, 2021 · 1 comment


Copy link

Under specific circumstances an exception is thrown when serializing a model containing an error model library with the text editor closed

Expected behavior
Exception should not be thrown. Error type should be created.

Actual behavior
Exception is thrown and error type or other created model element does not appear.

Steps To Reproduce
The problem seems to only occur when "use types ErrorLibrary;" is in the model.

  1. Create an AADL diagram using the package below.
  2. Close all text editor windows.
  3. Use the palette to create an error type.
  4. Check development environment console. Exception has been thrown. Model change is not made.
package problem
	annex EMV2 {**
		error types
			use types ErrorLibrary;
			A: type set {ServiceOmission};
		end types;

end problem;

Desktop (please complete the following information):

  • OSATE Version: 2.9.1 and nightly
  • Operating System: Windows


Copy link
Collaborator Author

@smithdtyler this is the issue we found earlier when creating error type extension. It appears to occur whenever the use types ErrorLibrary; statement is in the model.

@lwrage lwrage added this to the 2.10.0 milestone May 18, 2021
@lwrage lwrage self-assigned this Aug 21, 2021
@lwrage lwrage modified the milestones: 2.10.0, 2.11.0 Aug 31, 2021
@lwrage lwrage assigned joeseibel and unassigned lwrage Nov 8, 2021
@lwrage lwrage closed this as completed in ca59784 Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

3 participants