Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Problem creating LinkEndData and LinkEndDestructionData
Problem creating LinkEndData and LinkEndDestructionData [message #472910] Wed, 16 May 2007 09:46 Go to next message
Eclipse UserFriend
Originally posted by: francois.nizou.thalesgroup.com

Greeting,

I've encountered an issue using UML2:

I have a model, a class within, this class have a Behavior Activity and
this activity a Node Create (or Delete) Link Action.
The creation of two types of child within those nodes, "LinkEndData" and
"Link End Desctruction Data" doesn't work.

The log shows the following:

eclipse.buildId=M20060921-0945
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86

Warning
Wed May 16 11:01:07 CEST 2007
An exception was ignored during command execution

org.eclipse.emf.common.util.WrappedException: An exception was ignored
during command execution
at
org.eclipse.emf.common.command.BasicCommandStack.handleError (BasicCommandStack.java:279)
at
org.eclipse.emf.common.command.BasicCommandStack.execute(Bas icCommandStack.java:98)
at
org.eclipse.emf.edit.ui.action.StaticSelectionCommandAction. run(StaticSelectionCommandAction.java:230)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.ArrayStoreException
at org.eclipse.emf.common.util.BasicEList.assign(BasicEList.jav a:188)
at
org.eclipse.emf.common.util.BasicEList.addAllUnique(BasicELi st.java:774)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddAl lUnique(NotifyingListImpl.java:494)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllU nique(NotifyingListImpl.java:435)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllU nique(NotifyingListImpl.java:396)
at org.eclipse.emf.common.util.BasicEList.addAll(BasicEList.jav a:688)
at
org.eclipse.emf.edit.command.AddCommand.doExecute(AddCommand .java:400)
at
org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe cute(AbstractOverrideableCommand.java:128)
at
org.eclipse.emf.common.command.CommandWrapper.execute(Comman dWrapper.java:179)
at
org.eclipse.emf.edit.command.CreateChildCommand.execute(Crea teChildCommand.java:258)
at
org.eclipse.emf.common.command.BasicCommandStack.execute(Bas icCommandStack.java:91)
... 27 more

After that, the editor is in an inconsistant state and throws
NullPointerException when selecting the Node Action.

Note: The problem doesn't occur for Node Read Link Action

I've tried the same operation on two differents versions of Eclipse (with
UML 2.0.1 UML 2.0.3) and editors (UML2 editor and Acceleo Reflective
editor) and the result remains the same.

Does anyone has an idea of what is happening when using type of Action?

Many thanks in advance,

François
Re: Problem creating LinkEndData and LinkEndDestructionData [message #472912 is a reply to message #472910] Wed, 16 May 2007 20:56 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Fran
Re: Problem creating LinkEndData and LinkEndDestructionData [message #472924 is a reply to message #472912] Mon, 21 May 2007 15:07 Go to previous message
Eclipse UserFriend
Originally posted by: francois.nizou.thalesgroup.com

kenn,

i've submited a report, thank you.

Francois.
Re: Problem creating LinkEndData and LinkEndDestructionData [message #615880 is a reply to message #472910] Wed, 16 May 2007 20:56 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Fran
Re: Problem creating LinkEndData and LinkEndDestructionData [message #617171 is a reply to message #472912] Mon, 21 May 2007 15:07 Go to previous message
Eclipse UserFriend
Originally posted by: francois.nizou.thalesgroup.com

kenn,

i've submited a report, thank you.

Francois.
Previous Topic:Load Model from Enterprise Architect
Next Topic:Refactor Action
Goto Forum:
  


Current Time: Fri Apr 26 10:11:34 GMT 2024

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

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

Back to the top