Hi,

Is there any example of SysML Model Simulation?

I have tried to make a Simulation based on the UML models with no
success.
I created a state machine inside a package.
The state machine very basic, is a sequence of 3 three transitions going
trough, an Initial --> Stage1 --> Stage2 --> Final States.
The state machine is associated to a requirement.
At the state machine, I associated the transitions to signal events.
The signal events were associated with signals.
In the end I created inside the package an Instance Specification that
is a "instance of" the state machine.

When I try the simulation, I am able to do all steps. 
After pressing "Finish" in "Choose Animator" window, the simulator does
not work.
I get the following error, in the error log:

null
Error
Wed Nov 26 16:02:33 GMT 2008
Unhandled event loop exception

java.lang.IllegalArgumentException
at org.eclipse.ui.part.FileEditorInput.<init>(FileEditorInput.java:91)
at
org.topcased.simulation.control.uml.UMLDynamicEditorInitializer.openEdit
or(UMLDynamicEditorInitializer.java:71)
at
org.topcased.simulation.control.uml.UMLDynamicEditorInitializer.initiali
ze(UMLDynamicEditorInitializer.java:48)
at
org.topcased.simulation.control.views.wizards.simulation.SimulationLaunc
hParameters.createResourceSet(SimulationLaunchParameters.java:242)
at
org.topcased.simulation.control.views.wizards.simulation.SimulationWizar
d.performFinish(SimulationWizard.java:111)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:74
2)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:37
3)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228
)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.topcased.simulation.control.actions.OpenSimulationWizardAction.run(O
penSimulationWizardAction.java:102)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
ionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
ributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4
88)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat
ion.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
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.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Thank you for your patience,

Daniel Silveira

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to