Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technology role with a custom ActorReference not properly loaded #7

Open
tls-fledoux opened this issue Jan 27, 2023 · 0 comments
Open

Comments

@tls-fledoux
Copy link

tls-fledoux commented Jan 27, 2023

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 (80cebcf).

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant