Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

When containment links are not created by transformation Attribute setting in concepts throws NPE #39

Open
@levilucio

Description

@levilucio
  • create a transformation where an instance of a concept is created, but the transformation does not link it to the root.
  • when the attributes of the instance are set by the code in MPSOutputGenerator in the DSLTransRunner plugin an NPE is thrown.
  • This happens because instances that are targets of containment relations are created when the containment relation is created. If the containment relation is not there, the instance in MPS does not get created and the attribute setting fails.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions