NASA-AMMOS / aerie

A software framework for modeling spacecraft.
https://nasa-ammos.github.io/aerie-docs/
MIT License
73 stars 19 forks source link

Support events emitted from daemon tasks #1541

Closed DavidLegg closed 2 months ago

DavidLegg commented 2 months ago

Description

Tweaks the handling of event provenance to account for events emitted from daemon tasks to avoid NullPointerException.

All credit to @mattdailis for this fix.

Verification

I did some manual testing with a local Aerie instance, on a model that used the streamline Logger to emit events from daemon tasks, and verified that the simulation completes without error and the events appear in the simulation events table in the UI.

Documentation

N/A - bug fix

Future work

N/A