Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Unable to add required property 'event' in ExecutionOccurrenceSpecification
Unable to add required property 'event' in ExecutionOccurrenceSpecification [message #627513] Thu, 23 April 2009 19:47
Eclipse UserFriend
Originally posted by: florianwendland.freenet.de

Hey all,

i've found a bug, when i played a bit with interactions. The Validator
(and even the spec) recommend, that an ExecutionOccurrenceSpecification
had to declare a required property 'Event', which is possibly an
Receive/SendOperationEvent. So i've set it, and this causes an
IllegalArgumentException. Here is the relevant trace:

java.lang.IllegalArgumentException:
org.eclipse.uml2.uml.internal.impl.ReceiveOperationEventImpl @6a9b28
(name: RecvEvt9, visibility: <unset>)
at
org.eclipse.uml2.uml.internal.impl.ExecutionOccurrenceSpecif icationImpl.setEvent(ExecutionOccurrenceSpecificationImpl.ja va:177)
at
org.eclipse.uml2.uml.internal.impl.ExecutionOccurrenceSpecif icationImpl.eSet(ExecutionOccurrenceSpecificationImpl.java:3 08)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec tImpl.java:1071)
at org.eclipse.emf.edit.command.SetCommand.doExecute(SetCommand .java:721)
at
org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe cute(AbstractOverrideableCommand.java:131)
at
org.eclipse.emf.common.command.BasicCommandStack.execute(Bas icCommandStack.java:84)
at
org.eclipse.emf.edit.provider.ItemPropertyDescriptor.setProp ertyValue(ItemPropertyDescriptor.java:1427)
at
org.eclipse.uml2.uml.editor.presentation.UMLEditor$UMLProper tySource.setPropertyValue(UMLEditor.java:1917)
at
org.eclipse.ui.views.properties.PropertySheetEntry.valueChan ged(PropertySheetEntry.java:782)
at
org.eclipse.ui.views.properties.PropertySheetEntry.setValue( PropertySheetEntry.java:723)
at
org.eclipse.ui.views.properties.PropertySheetEntry.applyEdit orValue(PropertySheetEntry.java:146)
at
org.eclipse.ui.views.properties.PropertySheetEntry$1.applyEd itorValue(PropertySheetEntry.java:103)
at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:3 33

HTH
Marc-Florian
Previous Topic:Multiple Inheritance: select which Impl java class will be used as superclass
Next Topic:XSD -> EMF -> UML
Goto Forum:
  


Current Time: Sun Sep 23 06:27:50 GMT 2018

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

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

Back to the top