eclipse-capella / capella-sss-transition

System to Sub System transition add-on enables automated and iterative transition between system and subsystems.
Eclipse Public License 2.0
6 stars 17 forks source link

NoSuchElementException during Multiphase Transition #27

Open eclipse-capella-bot opened 3 years ago

eclipse-capella-bot commented 3 years ago

With the IFE Sample model, open the diagram [PAB]Implementation And Behavior Components. Select the Nodes PVDU Processor and PVDU Screen and perform a Multiphase transition into a new model. The transition appears to succeed, but the error log and information view contain two errors, with the error log showing the following stacktrace:

java.util.NoSuchElementException at java.util.ArrayList$Itr.next(ArrayList.java:854) at org.polarsys.capella.transition.system2subsystem.rules.fa.FunctionalChainInvolvementRule.attachRelated(FunctionalChainInvolvementRule.java:174) at org.polarsys.capella.core.transition.common.rules.AbstractRule.apply(AbstractRule.java:351) at org.polarsys.capella.core.transition.common.rules.AbstractRule.apply(AbstractRule.java:1) at org.polarsys.kitalpha.transposer.rules.handler.rules.common.spec.MappingPossibilitySpec.applyCompleteRule(MappingPossibilitySpec.java:121) at org.polarsys.kitalpha.transposer.rules.handler.rules.common.spec.MappingPossibilitySpec.applyRule(MappingPossibilitySpec.java:105) at org.polarsys.capella.core.transition.common.transposer.current.GenericRulesHandler.apply(GenericRulesHandler.java:118) at org.polarsys.capella.core.transition.common.transposer.ExtendedRulesHandler.apply(ExtendedRulesHandler.java:46) at org.polarsys.capella.core.transition.common.transposer.ExtendedTransposer.transpose(ExtendedTransposer.java:138) at org.polarsys.capella.core.transition.common.activities.TransformationActivity._run(TransformationActivity.java:55) at org.polarsys.capella.core.transition.common.activities.AbstractActivity.run(AbstractActivity.java:98) at org.polarsys.capella.core.transition.common.transposer.ExtendedCadenceLauncher.cadence(ExtendedCadenceLauncher.java:176) at org.polarsys.capella.core.transition.common.transposer.ExtendedCadenceLauncher.cadence(ExtendedCadenceLauncher.java:160) at org.polarsys.capella.core.transition.common.transposer.ExtendedCadenceLauncher.cadence(ExtendedCadenceLauncher.java:102) at org.polarsys.capella.core.transition.common.launcher.ActivitiesLauncher.cadence(ActivitiesLauncher.java:245) at org.polarsys.capella.core.transition.common.launcher.ActivitiesLauncher.triggerActivities(ActivitiesLauncher.java:237) at org.polarsys.capella.core.transition.common.launcher.ActivitiesLauncher.triggerActivities(ActivitiesLauncher.java:175) at org.polarsys.capella.transition.system2subsystem.multiphases.launcher.AbstractHeadlessMultiphasesLauncher.launch(AbstractHeadlessMultiphasesLauncher.java:68) at org.polarsys.capella.core.transition.common.launcher.TransposerLauncher.run(TransposerLauncher.java:126) at org.polarsys.capella.transition.system2subsystem.multiphases.launcher.AbstractHeadlessMultiphasesLauncher.run(AbstractHeadlessMultiphasesLauncher.java:55) at org.polarsys.capella.transition.system2subsystem.multiphases.launcher.HeadlessMultiphasesLauncher.launch(HeadlessMultiphasesLauncher.java:91) at org.polarsys.capella.transition.system2subsystem.multiphases.ui.launcher.MultiphasesLauncher.launch(MultiphasesLauncher.java:50) at org.polarsys.capella.transition.system2subsystem.multiphases.ui.commands.MultiPhasesCommand.performTransformation(MultiPhasesCommand.java:32) at org.polarsys.capella.core.transition.common.commands.TransitionCommand.run(TransitionCommand.java:87)

🆔 ECLIPSE-555416 / POLARSYS-1274 👷 felix.dorner 📅 2016-10-21 🔎 1.0.1

eclipse-capella-bot commented 3 years ago

philippe.dul commented on 2020-11-17

Still reproduced in 1.4.1 version of addon