Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO/Papyrus] Marte profile issue
[CDO/Papyrus] Marte profile issue [message #1755635] Mon, 06 March 2017 12:46 Go to next message
Xavier ZeitounFriend
Messages: 23
Registered: April 2016
Location: CEA LIST, Paris Saclay, F...
Junior Member
Dear CDO community,

I tried using the papyrus CDO integration for sharing model with MARTE profile applied.

I have the following issue (
I can apply the profile, but if i try to create an element with a MARTE stereotype applied, the commit is refused with the following partial stack trace :
org.eclipse.net4j.util.transaction.TransactionException: org.eclipse.emf.cdo.util.CommitException: org.eclipse.net4j.signal.RemoteException: org.eclipse.net4j.util.WrappedException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Unresolved reference '//MARTE_Annexes/VSL/DataTypes/TupleType/tupleAttrib'. (, 31, 107)
at org.eclipse.net4j.util.WrappedException.wrap(
at org.eclipse.emf.cdo.common.model.EMFUtil.createEPackage(
at org.eclipse.emf.cdo.common.model.CDOModelUtil.readPackage(
at org.eclipse.emf.cdo.spi.common.protocol.CDODataInputImpl.readCDOPackageUnit(
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingRead(
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(
at org.eclipse.net4j.signal.Signal.doInput(
at org.eclipse.net4j.signal.IndicationWithResponse.execute(
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(
at org.eclipse.net4j.signal.Signal.runSync(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Unresolved reference '//MARTE_Annexes/VSL/DataTypes/TupleType/tupleAttrib'. (, 31, 107)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(
at org.eclipse.emf.cdo.common.model.EMFUtil.createEPackage(
... 16 more
Caused by: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference '//MARTE_Annexes/VSL/DataTypes/TupleType/tupleAttrib'. (, 31, 107)

Would you know how to solve this problem?

Re: [CDO/Papyrus] Marte profile issue [message #1755714 is a reply to message #1755635] Tue, 07 March 2017 08:01 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6544
Registered: July 2009
Senior Member
That doesn't ring a bell and there's not so much context in your description. Could it be related to (missing/wrong) UML pathmap entries? Would a similar problem arise if you take CDO out of the picture? I would like to ask someone who has experience with Papyrus, CDO and SysML profiles, but not sure when I reach him. Maybe you ask in parallel on the UML forum, too...

Re: [CDO/Papyrus] Marte profile issue [message #1755751 is a reply to message #1755714] Tue, 07 March 2017 12:51 Go to previous messageGo to next message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 309
Registered: February 2012
Location: Düsseldorf
Senior Member
Hi Xavier,
we are using SysML and an own
custom profile without any problems with CDO. I never had any problems with package registration in CDO. This is probably also due to the fact that we have configured our CDOServer to "pre register" all of our required packages including the profiles.
I don't know anything about MARTE but from the trace you provided it looks to me like the package you are trying to register is referencing another package "MARTE_ANNEXES" which cannot be resolved on the server.

Re: [CDO/Papyrus] Marte profile issue [message #1759393 is a reply to message #1755635] Tue, 11 April 2017 08:12 Go to previous message
Shuai Li is currently offline Shuai LiFriend
Messages: 21
Registered: March 2016
Location: Paris Saclay, France
Junior Member
I don't think this problem is related to CDO. I know a bit MARTE and the URI seems incorrect. That's probably why it cannot be resolved.
Previous Topic:Resources loaded from platform:/plugin URIs are not considered read-only by EcoreEditor
Next Topic:NPE while eSetting eContainingClass
Goto Forum:

Current Time: Tue Mar 09 05:02:15 GMT 2021

Powered by FUDForum. Page generated in 0.02389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top