Skip to content

EIS.deleteAssociation() returns null in some cases #26

@koenhindriks

Description

@koenhindriks

When you call EIS.deleteAssociation(entity) where entity HAS NO associations, the call returns null instead of the expected empty list.

This causes a nullpointer exception when you kill an environment with un-associated entities.

reproduce:

  • run elevator with four elevators but assign only 3 (default in elevator.mas file)
  • kill the mas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions