You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to extend UML Designer using Sirius 6.0.1 on Eclipse Photon for my computer science master's thesis. I cloned the repository, merged this pull request, and made some more dependency changes to get Sirius 6.0 compatibility.
I can launch the org.obeonetwork.dsl.uml2.navigator project as an Eclipse application and edit a project that I had created with UML Designer 8.0 on Eclipse Oxygen.
The problem is that when I'm in the Eclipse instance used for development (so not the Eclipse application launched using the org.obeonetwork.dsl.uml2.navigator project) and I create a new class diagram using "Create Representation", the diagram creation works fine, but once I add a new element to the diagram or import an element from my existing UML model, it always has the title "Invalid Feature as Name".
I checked the problems view and there I can see multiple entries of the following types:
Feature: labelExpression Exception while calling service org.obeonetwork.dsl.uml2.design.api.services.PackageHierarchyServices.computeUmlLabel(org.eclipse.uml2.uml.Element).
and
Feature: labelExpression An error has appeared during the evaluation of an expression:
Expression: aql:self.computeAssociationBeginLabel()
Diagnostic: Diagnostic ERROR source=org.eclipse.acceleo.query code=0 computeAssociationBeginLabel(org.eclipse.uml2.uml.Association) with arguments [org.eclipse.uml2.uml.internal.impl.AssociationImpl@2280e4 (name: insulinPumpStatesToBasalRates, visibility: <unset>) (isLeaf: false, isAbstract: false, isFinalSpecialization: false) (isDerived: false)] failed:
null data=[org.eclipse.acceleo.query.runtime.AcceleoQueryEvaluationException: computeAssociationBeginLabel(org.eclipse.uml2.uml.Association) with arguments [org.eclipse.uml2.uml.internal.impl.AssociationImpl@2280e4 (name: insulinPumpStatesToBasalRates, visibility: <unset>) (isLeaf: false, isAbstract: false, isFinalSpecialization: false) (isDerived: false)] failed:
null]
Target URI Fragment: platform:/resource/HealthCareTest/model.uml#_ETsN0GaAEeiSn7XRQcELJw
Target: org.eclipse.uml2.uml.internal.impl.AssociationImpl@2280e4 (name: insulinPumpStatesToBasalRates, visibility: <unset>) (isLeaf: false, isAbstract: false, isFinalSpecialization: false) (isDerived: false)
What is the best way for debugging this problem? I found the method org.obeonetwork.dsl.uml2.design.api.services.PackageHierarchyServices.computeUmlLabel() in the source, but is there any way I can set a breakpoint there that is triggered during the use of Sirius?
Best regards,
Thomas
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to extend UML Designer using Sirius 6.0.1 on Eclipse Photon for my computer science master's thesis. I cloned the repository, merged this pull request, and made some more dependency changes to get Sirius 6.0 compatibility.
I can launch the org.obeonetwork.dsl.uml2.navigator project as an Eclipse application and edit a project that I had created with UML Designer 8.0 on Eclipse Oxygen.
The problem is that when I'm in the Eclipse instance used for development (so not the Eclipse application launched using the org.obeonetwork.dsl.uml2.navigator project) and I create a new class diagram using "Create Representation", the diagram creation works fine, but once I add a new element to the diagram or import an element from my existing UML model, it always has the title "Invalid Feature as Name".
I checked the problems view and there I can see multiple entries of the following types:
and
What is the best way for debugging this problem? I found the method
org.obeonetwork.dsl.uml2.design.api.services.PackageHierarchyServices.computeUmlLabel()
in the source, but is there any way I can set a breakpoint there that is triggered during the use of Sirius?Best regards,
Thomas
The text was updated successfully, but these errors were encountered: