Linking resource simulation fails for CompositeComponents

Description

There is a NullPointerException when simulating a model containing interconnected Composite Components. The error occurs, as the ResourceContainer lookup in the ComposedStructureInnerSwitch is done based on the AssemblyContext referred to by the Connector. This is not sufficient for CompositeComponents, as the lookup needs to take the entire AssemblyContext stack into account.

Environment

None
Fixed

Assignee

Sebastian Krach

Reporter

Sebastian Krach

Labels

None

Requirement Category

None

External issue URL

None

Fix versions

Affects versions

Priority

Major