Skip to content

Exception when serializing EMV2 annex #2648

@philip-alldredge

Description

@philip-alldredge

Summary
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
public
	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

exception.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions