Error creating UUID from database value when log in

Hey guys!
Iā€™m getting a weird error when I try to login into a new blank JMIX project.

Caused by: java.lang.RuntimeException: Error creating UUID from database value '60885987-1b61-4247-94c7-dff348347f93'

Caused by: java.lang.IllegalArgumentException: 60885987--1b6-1-42-47-9-4c7-dff348347f93

I guess is something related with this UUID convert from the database default user:
ID, VERSION, USERNAME, FIRST_NAME, LAST_NAME, PASSWORD, EMAIL, ENABLED
60885987-1b61-4247-94c7-dff348347f93, 1, admin, , , {noop}admin, , 1

Iā€™m kind of stuck here, since it seems like a inside framework error.
Anyone had something like that using MySQL maybe? Any help would be appreciate

The complete stack:

Hi,
Thank you for trying Jmix.
Which MySQL version do you use with this project?

For this project Iā€™m using 5.7.33.
Tested with MySQL8, it runs the same problem.

I could make it work removing the dashes in the database for user and roles, as:

update SEC_ROLE_ASSIGNMENT_ENTITY set ID = replace(ID,ā€™-ā€™,ā€™ā€™);
update POC_USER set ID = replace(ID,ā€™-ā€™,ā€™ā€™);

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

Regards,
Elena

1 Like