mdenet / platformtools

Education platform tool functions.
Eclipse Public License 2.0
0 stars 3 forks source link

Epsilon tool function for ETL returns a type error #58

Closed barnettwilliam closed 8 months ago

barnettwilliam commented 8 months ago

While testing an activity during https://github.com/mdenet/educationplatform/issues/173 the epsilon tool function returned an unexpected error. The activity that includes a model-to-model transformation to and from the same metamodel effectively copying the input model the following error is returned by the epsilon tool function:

The value of type 'class org.eclipse.emf.ecore.impl.EEnumLiteralImpl' must be of type 'org.eclipse.emf.ecore.impl.EEnumImpl@424734b4 (name: MoveCommand) (instanceClassName: null) (serializable: true)'
    at (/program.etl@32:1-32:23)
    at (unknown@0:0-0:0)
    at (/program.etl@5:1-5:31)
    at (unknown@0:0-0:0)
    at (/program.etl@1:0-77:1) 

The same error was reproducible when running the etl transformation in eclipse when the metamodel ecore file was loaded from the workspace. Registering the metamodel and loading it via its URI from the ePackage registry the same transformation runs successfully without error.

barnettwilliam commented 8 months ago

Eclipse Version

Eclipse Modeling Tools Version: 2022-12 (4.26.0) Build id: 20221201-1913 OS: Linux, v.6.5.0-17-generic, x86_64 / gtk 3.24.33 Java vendor: Eclipse Adoptium Java runtime version: 17.0.9+9 Java version: 17.0.9

Plugin versions

Epsilon EMF Integration 2.4.0.202203041826 org.eclipse.epsilon.emf.feature.feature.group Eclipse Modeling Project Flexmi 2.4.0.202203041826 org.eclipse.epsilon.flexmi.feature.feature.group Eclipse Modeling Project Flexmi Development Tools 2.4.0.202203041826 org.eclipse.epsilon.flexmi.dt.feature.feature.group Eclipse Modeling Project Human Usable Textual Notation Core 2.4.0.202203041826 org.eclipse.epsilon.hutn.feature.feature.group Eclipse Modeling Project Human Usable Textual Notation Development Tools 2.4.0.202203041826 org.eclipse.epsilon.hutn.dt.feature.feature.group Eclipse Modeling Project

EMF - Eclipse Modeling Framework SDK 2.32.0.v20221121-1400 org.eclipse.emf.sdk.feature.group Eclipse Modeling Project Emfatic 1.1.0.202301241109 org.eclipse.emf.emfatic.feature.group Eclipse.org Epsilon EMF Integration 2.4.0.202203041826 org.eclipse.epsilon.emf.feature.feature.group Eclipse Modeling Project

szschaler commented 8 months ago

Is this the right place to report this @barnettwilliam ? Shouldn't it be reported against the Epsilon tool directly?

barnettwilliam commented 8 months ago

Moved to https://github.com/epsilonlabs/playground-micronaut/issues/2