When you draw statechart elements in the graphical editor, AnyLogic analyzes the resulting structure and automatically constructs statecharts. But you may make some mistakes while defining statecharts that must be corrected. For instance, the standalone incomplete fragments (just state, just transition, etc.) cause errors because there is no way to distinguish what particular statechart they belong to.
In the Projects view erroneously defined statechart elements are placed into the Unresolved sub-branch of the Statecharts tree branch:
Please follow these rules when drawing statecharts: