With the Capella addon "Require viewpoint", it is possible to import requirement from a ReqIf File to a Capella Project. However, it fails if the project is shared on CDO.
It raises the following exceptions:
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:346)
at org.eclipse.emf.internal.cdo.CDOObjectImpl$TransientStore.get(CDOObjectImpl.java:1575)
at org.eclipse.emf.ecore.impl.EStoreEObjectImpl$BasicEStoreEList.delegateGet(EStoreEObjectImpl.java:241)
at org.eclipse.emf.common.util.DelegatingEList.get(DelegatingEList.java:230)
at org.polarsys.capella.vp.requirements.importer.transposer.bridge.RequirementsVPBridge.initializeTemporaryScope(RequirementsVPBridge.java:124)
at org.polarsys.capella.vp.requirements.importer.transposer.bridge.RequirementsVPBridge.createIntermediateDataSet(RequirementsVPBridge.java:111)
at org.polarsys.capella.vp.requirements.importer.transposer.bridge.RequirementsVPBridge.createIntermediateDataSet(RequirementsVPBridge.java:1)
at org.eclipse.emf.diffmerge.bridge.impl.emf.AbstractWrappingIncrementalEMFBridge.createIntermediateDataSet(AbstractWrappingIncrementalEMFBridge.java:1)
at org.eclipse.emf.diffmerge.bridge.operations.IncrementalWrappingBridgeOperation.run(IncrementalWrappingBridgeOperation.java:113)
at org.eclipse.emf.diffmerge.impl.helpers.AbstractExpensiveOperation.run(AbstractExpensiveOperation.java:66)
at org.eclipse.emf.diffmerge.bridge.impl.emf.AbstractWrappingIncrementalBridge.executeOn(AbstractWrappingIncrementalBridge.java:90)
at org.polarsys.capella.vp.requirements.importer.transposer.activities.InitializeTransformation.initializeTransformation(InitializeTransformation.java:121)
at org.polarsys.capella.vp.requirements.importer.transposer.activities.InitializeTransformation$1.run(InitializeTransformation.java:82)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
And
java.lang.NullPointerException
at org.polarsys.capella.vp.requirements.importer.transposer.activities.TransposerTransformation$2.run(TransposerTransformation.java:87)
at org.polarsys.capella.common.ef.ExecutionManager$2.doExecute(ExecutionManager.java:127)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:488)
at org.polarsys.capella.common.ef.internal.command.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:148)
at org.polarsys.capella.common.platform.sirius.ted.SemanticEditingDomainFactory$SemanticCommandStack.doExecute(SemanticEditingDomainFactory.java:276)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.polarsys.capella.common.ef.ExecutionManager.executeReadWriteCommand(ExecutionManager.java:91)
at org.polarsys.capella.common.ef.ExecutionManager.execute(ExecutionManager.java:66)
at org.polarsys.capella.vp.requirements.importer.transposer.activities.TransposerTransformation.mergeAndSave(TransposerTransformation.java:79)
at org.polarsys.capella.vp.requirements.importer.transposer.activities.TransposerTransformation$1.runInUIThread(TransposerTransformation.java:58)
at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:95)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
With the Capella addon "Require viewpoint", it is possible to import requirement from a ReqIf File to a Capella Project. However, it fails if the project is shared on CDO. It raises the following exceptions: org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0 at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:346) at org.eclipse.emf.internal.cdo.CDOObjectImpl$TransientStore.get(CDOObjectImpl.java:1575) at org.eclipse.emf.ecore.impl.EStoreEObjectImpl$BasicEStoreEList.delegateGet(EStoreEObjectImpl.java:241) at org.eclipse.emf.common.util.DelegatingEList.get(DelegatingEList.java:230) at org.polarsys.capella.vp.requirements.importer.transposer.bridge.RequirementsVPBridge.initializeTemporaryScope(RequirementsVPBridge.java:124) at org.polarsys.capella.vp.requirements.importer.transposer.bridge.RequirementsVPBridge.createIntermediateDataSet(RequirementsVPBridge.java:111) at org.polarsys.capella.vp.requirements.importer.transposer.bridge.RequirementsVPBridge.createIntermediateDataSet(RequirementsVPBridge.java:1) at org.eclipse.emf.diffmerge.bridge.impl.emf.AbstractWrappingIncrementalEMFBridge.createIntermediateDataSet(AbstractWrappingIncrementalEMFBridge.java:1) at org.eclipse.emf.diffmerge.bridge.operations.IncrementalWrappingBridgeOperation.run(IncrementalWrappingBridgeOperation.java:113) at org.eclipse.emf.diffmerge.impl.helpers.AbstractExpensiveOperation.run(AbstractExpensiveOperation.java:66) at org.eclipse.emf.diffmerge.bridge.impl.emf.AbstractWrappingIncrementalBridge.executeOn(AbstractWrappingIncrementalBridge.java:90) at org.polarsys.capella.vp.requirements.importer.transposer.activities.InitializeTransformation.initializeTransformation(InitializeTransformation.java:121) at org.polarsys.capella.vp.requirements.importer.transposer.activities.InitializeTransformation$1.run(InitializeTransformation.java:82) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
And
java.lang.NullPointerException at org.polarsys.capella.vp.requirements.importer.transposer.activities.TransposerTransformation$2.run(TransposerTransformation.java:87) at org.polarsys.capella.common.ef.ExecutionManager$2.doExecute(ExecutionManager.java:127) at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135) at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119) at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150) at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:488) at org.polarsys.capella.common.ef.internal.command.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:148) at org.polarsys.capella.common.platform.sirius.ted.SemanticEditingDomainFactory$SemanticCommandStack.doExecute(SemanticEditingDomainFactory.java:276) at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165) at org.polarsys.capella.common.ef.ExecutionManager.executeReadWriteCommand(ExecutionManager.java:91) at org.polarsys.capella.common.ef.ExecutionManager.execute(ExecutionManager.java:66) at org.polarsys.capella.vp.requirements.importer.transposer.activities.TransposerTransformation.mergeAndSave(TransposerTransformation.java:79) at org.polarsys.capella.vp.requirements.importer.transposer.activities.TransposerTransformation$1.runInUIThread(TransposerTransformation.java:58) at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
🆔 ECLIPSE-555404 / POLARSYS-2683
👷 steve.monnier
📅 2019-11-26
🔎 1.3.1