Skip to content

initialChoiceState cannot be the initial sub-state of a region inside a parallel composite state. #126

@mc-allen

Description

@mc-allen

I have a statechart with a state that has three parallel regions. One of those regions has an initialChoiceState. When I enter the state with parallel regions, I get this error from the library:

Fatal exception happened, StateMachineImpl(MyStateMachine) machine is in unpredictable state and will be destroyed: java.lang.IllegalStateException: Internal error, PseudoState DefaultChoiceState(MyState) can not be entered or exited, looks that machine is purely configured

It looks like this is a limitation in the library. It is probably not a common scenario, but would be useful to handle.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions