did you find the answer even i am getting similar issue can you help me ERROR - APIUtil Error when getting the list of roles
org.wso2.carbon.user.core.UserStoreException: Invalid Domain Name