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.