openflexo-team / openflexo-core

Openflexo federation infrastructure
2 stars 2 forks source link

Technology role with a custom ActorReference not properly loaded #7

Open tls-fledoux opened 1 year ago

tls-fledoux commented 1 year ago

There is an issue with actor references when a virtual model instance is loaded.

Firstly, the environment is Windows, OpenJDK 1.8 and OpenFlexo 2.0.1 latest commit at the moment (80cebcf836e84eaaf2c4601fc30fa595d0aaa718).

To reproduce the issue, initial conditions are :

Steps:

Findings:

I confirmed the issue with the Excel technology and custom ones. During the FML deserialization in the ActorReference implementation, the method "getModelSlotInstance()" returns null and thus, the role thereby the FML RT instance cannot be properly loaded.

An example project with the issue is available as attachment (Excel technology). TestExcel.prj.zip