Unexpected error when menu includes a separator and Menu Policy is being created at Runtime

Jmix 1.2.2:
I am trying to Create a Resource Role at Runtime.
Once I start creating a Menu policy I get the following error:
This error is happening because I have a separator item within my Main Menu

It works okay when I create Roles at design time (Annotated Class)

I am thinking this is a bug in Jmix.

Am I the only one who is noticing this bug ?

Hello @robert.gilbert

Thank you for reporting the problem. We have created a GitHub issue.


Fixed in Jmix 1.2.3