Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReqIf] Not possible to import ReqIf on a shared project #96

Open
eclipse-capella-bot opened this issue Jan 6, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@eclipse-capella-bot
Copy link

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

@eclipse-capella-bot eclipse-capella-bot added the enhancement New feature or request label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant