Skip to content

Technology role with a custom ActorReference not properly loaded #7

@tls-fledoux

Description

@tls-fledoux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions