Open koenhindriks opened 10 years ago
Please clarify. EIS is only an interface and does not return anything. Are you referring to the Default implementation?
I followed the procedure above with SimpleIDE, but I do not see any exceptions
Received new entity named car2.
WARNING: WARNING: None of the launch rules in the MAS applies for entity car2 of type car because maximum number of times rules can be applied has been reached
WARNING: WARNING: Failed to get percepts from environment.
because environment does not run but is paused.WARNING: WARNING: Failed to get percepts from environment.
because environment does not run but is paused.Shutting down MAS.
Messages->Runtime stopped.
Runtime->Messages stopped.
GOAL agent elevator terminated successfully.
GOAL agent elevator terminated successfully.
GOAL agent elevator_0 terminated successfully.
GOAL agent elevator_0 terminated successfully.
Environment->Messages stopped.
Messages->Environment stopped.
done.
The multi-agent system elevator.mas2g has been terminated.
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: