The data space compiler extension sets the executables and diagrams as null in the dataspace metamodel when they are null in the protocol. Since they have [*] multiplicity, the validate method of the metamodel expects them to be non-null or empty. This bug leads to NPEs when validate method is called on the dataspace element.
What type of PR is this?
What does this PR do / why is it needed ?
The data space compiler extension sets the executables and diagrams as null in the dataspace metamodel when they are null in the protocol. Since they have [*] multiplicity, the validate method of the metamodel expects them to be non-null or empty. This bug leads to NPEs when validate method is called on the dataspace element.
Other notes for reviewers:
Does this PR introduce a user-facing change?
No