Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351291 - EMFTVM: Cannot combine ATL output models with SimpleGT in/out models
Summary: EMFTVM: Cannot combine ATL output models with SimpleGT in/out models
Status: CLOSED FIXED
Alias: None
Product: MMT.ATL
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dennis Wagelaar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 05:31 EDT by Dennis Wagelaar CLA
Modified: 2017-06-05 09:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Wagelaar CLA 2011-07-06 05:31:03 EDT
Buildfile: /home/dennis/Documents/Werk/Brainstorm/TTC2011Live/TTC2011-EMFTVM-Solution/transformations/OnOff/build.xml

loadModels:

transform:
  [emftvm.run] org.eclipse.m2m.atl.emftvm.util.VMException: Error during module loading: Error during module loading: Model OUT not found
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:384)
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.ant.RunTask.innerExecute(RunTask.java:152)
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.ant.EMFTVMTask.execute(EMFTVMTask.java:84)
  [emftvm.run] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  [emftvm.run] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [emftvm.run] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [emftvm.run] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [emftvm.run] 	at java.lang.reflect.Method.invoke(Method.java:616)
  [emftvm.run] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [emftvm.run] 	at org.apache.tools.ant.Task.perform(Task.java:348)
  [emftvm.run] 	at org.apache.tools.ant.Target.execute(Target.java:357)
  [emftvm.run] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
  [emftvm.run] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
  [emftvm.run] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
  [emftvm.run] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [emftvm.run] 	at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
  [emftvm.run] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
  [emftvm.run] 	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662)
  [emftvm.run] 	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495)
  [emftvm.run] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [emftvm.run] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [emftvm.run] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [emftvm.run] 	at java.lang.reflect.Method.invoke(Method.java:616)
  [emftvm.run] 	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
  [emftvm.run] 	at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:298)
  [emftvm.run] 	at java.lang.Thread.run(Thread.java:636)
  [emftvm.run] Caused by: org.eclipse.m2m.atl.emftvm.util.VMException: Error during module loading: Model OUT not found
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:384)
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.resolveImports(ExecEnvImpl.java:400)
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:372)
  [emftvm.run] 	... 25 more
  [emftvm.run] Caused by: java.lang.IllegalArgumentException: Model OUT not found
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.resolveRuleElement(ExecEnvImpl.java:617)
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.registerRule(ExecEnvImpl.java:595)
  [emftvm.run] 	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.loadModule(ExecEnvImpl.java:377)
  [emftvm.run] 	... 27 more

BUILD FAILED
/home/dennis/Documents/Werk/Brainstorm/TTC2011Live/TTC2011-EMFTVM-Solution/transformations/OnOff/build.xml:26: org.eclipse.m2m.atl.emftvm.util.VMException: Error during module loading: Error during module loading: Model OUT not found

Total time: 356 milliseconds
Comment 1 Dennis Wagelaar CLA 2011-07-06 08:48:45 EDT
When registering new rules in the ExecEnv, rule input elements were only checked against input models, and rule output elements were only checked against output models. In/out models should also be allowed for both.
Comment 2 Dennis Wagelaar CLA 2011-07-06 08:50:26 EDT
The current EMFTVM launch dialog and ant tasks do not properly support in/out models. It should be possible to create a new in/out model, as well as "upgrade" an input or output model to an in/out model.
Comment 3 Dennis Wagelaar CLA 2011-07-06 08:50:49 EDT
Fix committed to CVS.
Comment 4 Dennis Wagelaar CLA 2017-06-05 09:03:45 EDT
This was released for ATL 3.3 - closing.