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 :
A project using a technology
A serialized FML-RT instance within this project which contains a technology role with a custom ActorReference.
Steps:
Open the project containing the FML-RT instance
Open the FML-RT instance
An error occurred
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
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