peterharaszin / yakindu

Automatically exported from code.google.com/p/yakindu
0 stars 0 forks source link

Error launching simulation of statecharts #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install new Indigo Eclipse Modeling Tools version.
2. Install Xtext 2.3 from Xtext update site (release)
3. Install Yakindu SCT from update site
4. Create statechart and start simulation.

Following error message pops up:
"An internal error occurred during: "Launching AlwaysOncycle.sct (1)".
org.eclipse.xtext.xbase.lib.IterableExtensions.forEach(Ljava/lang/Iterable;Lorg/
eclipse/xtext/xbase/lib/Functions$Function1;)V"

Stacktrace:
java.lang.NoSuchMethodError: 
org.eclipse.xtext.xbase.lib.IterableExtensions.forEach(Ljava/lang/Iterable;Lorg/
eclipse/xtext/xbase/lib/Functions$Function1;)V
    at org.yakindu.sct.model.sexec.transformation.StructureMapping.mapTimeEvents(StructureMapping.java:247)
    at org.yakindu.sct.model.sexec.transformation.ModelSequencer.transform(ModelSequencer.java:69)
    at org.yakindu.sct.model.sexec.interpreter.factory.SexecExecutionFacadeFactory.createExecutionFacade(SexecExecutionFacadeFactory.java:46)
    at org.yakindu.sct.model.sexec.interpreter.factory.SexecExecutionFacadeFactory.createExecutionFacade(SexecExecutionFacadeFactory.java:1)
    at org.yakindu.sct.simulation.core.debugmodel.SCTDebugTarget.createExecutionModel(SCTDebugTarget.java:82)
    at org.yakindu.sct.simulation.core.debugmodel.SCTDebugTarget.<init>(SCTDebugTarget.java:76)
    at org.yakindu.sct.simulation.core.launch.StatechartLaunchConfigurationDelegate.launch(StatechartLaunchConfigurationDelegate.java:39)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1251)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Original issue reported on code.google.com by markus.muehlbrandt on 2 Aug 2012 at 9:16

GoogleCodeExporter commented 9 years ago
This is due to the new xtext version. Fixed in the current milestone build

Original comment by AxelTerfloth on 13 Oct 2012 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by AxelTerfloth on 29 Sep 2014 at 2:05