Exception in OnPostResetModel/notify subscribers

Exception in OnPostResetModel/notify subscribers

mischa_spelt
Advisor Advisor
347 Views
1 Reply
Message 1 of 2

Exception in OnPostResetModel/notify subscribers

mischa_spelt
Advisor
Advisor

[ FlexSim 18.0.2 ]

Hi, any idea what the following error can mean?

exception: Exception Caught in ObjectFunction385__project_events_OnPostResetModel_notify_subscribers object: MAIN:/project/events/OnPostResetModel/notify subscribers i: MAIN:/project/events/OnPostResetModel/notify subscribers class: MAIN:/project/events/OnPostResetModel/notify subscribers


exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/events/OnPostResetModel/notify subscribers c: MAIN:/project/events/OnPostResetModel/notify subscribers i: MAIN:/project/events/OnPostResetModel/notify subscribers thisClass: MAIN:/project/events/OnPostResetModel/notify subscribers
exception: Exception caught in evaluation of MAIN:/project/events/OnPostResetModel/notify subscribers

If necessary I can try sharing the model in a private question but I'm mostly curious if, in general, anyone has encountered this and/or there is a typical known cause for this error.

0 Likes
Accepted solutions (1)
348 Views
1 Reply
Reply (1)
Message 2 of 2

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

I've seen this error twice.

Once was when 18.0 was still under development, we would see this when Stats Collectors were in the model. After debugging the issue, we traced it to the object calling its OnReset function during its bind method.

The other time Regan was seeing this error whenever he would start a new model. Closing FlexSim and reopening it made the error go away. I'm not sure what was causing it.

If you have a model that displays this issue or have replication steps let us know and we'll look into it.

The function SimulationStartEvent::executePostReset() is defined in MAIN:/project/exec/globals/includebody if you want to debug it.



Matthew Gillespie
FlexSim Software Developer

0 Likes