I'm attempting to build a new model in AnyLogic and I'm getting the following error:
I'm really grasping at straws to identify what is going wrong as there are no errors in the Problem window. The only thing I can think of is that a while ago I copy-pasted Agents and classes from old models into this one. However, the model compiled and ran after the copy-paste, so if related then this is a very delayed bug. Anyone have any ideas?
I found the answer: it was a problem with AnyLogic's RunConfiguration
. To fix it I did the following:
ignore
on all of my agents and classes.RunConfiguration
fails to build as it no longer has a top-level agent.ignore
on all of my agents and classes and gave RunConfiguration
a new top-level agent.RunConfiguration
's ActiveObjectClassId
, which, for whatever reason, resolves the problem.Hopefully this helps you too!