OHDSI Home | Forums | Wiki | Github

Characterizations will not load just hangs

When trying to get into the characterizations the application just hangs and has the:
“Loading Loading Cohort Characterization list…” and keeps this way and never actually loads.

Looking at the logs for the WebAPI the only error message is as follows:
2022-11-04 14:07:34.717 ERROR http-nio-8080-exec-3 org.ohdsi.webapi.security.PermissionService - - Error getting user roles and permissions
javax.persistence.EntityNotFoundException: Unable to find org.ohdsi.webapi.shiro.Entities.RoleEntity with id 1007

Looking in the table webapi.sec_role there is in fact not a role 1007.

I’m not sure if that is a system role that should be assigned to allow the characterizations to run.

If that is the case what should the name of the role be and will that then solve the error once I create that role?

Looking at the permissions in the config, the users have the ability to " cohort-characterization:get Get cohort characterizations list"

Any help here would be greatly appreciated.