You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue:
When attempting to retrieve a list of v2 roles, an error occurs when encountering roles with corrupted or invalid audience information. For example, in scenarios where an application was deleted without its associated roles being properly handled, the roles-related table may contain audience references associated with the deleted application.
ERROR {org.wso2.carbon.tomcat.ext.valves.CompositeValve} - Could not handle request: /t/carbon.super/scim2/v2/Roles java.lang.NullPointerException
at org.wso2.carbon.identity.application.mgt.listener.DefaultRoleManagementListener.getApplicationName(DefaultRoleManagementListener.java:534)
at org.wso2.carbon.identity.application.mgt.listener.DefaultRoleManagementListener.postGetRoles(DefaultRoleManagementListener.java:117)
at org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementServiceImpl.getRoles(RoleManagementServiceImpl.java:152)
at org.wso2.carbon.identity.scim2.common.impl.SCIMRoleManagerV2.listRoles(SCIMRoleManagerV2.java:499)
at org.wso2.carbon.identity.scim2.common.impl.SCIMRoleManagerV2.listRolesWithGET(SCIMRoleManagerV2.java:299)
at org.wso2.charon3.core.protocol.endpoints.RoleResourceV2Manager.listWithGETRole(RoleResourceV2Manager.java:175)
at org.wso2.carbon.identity.scim2.provider.resources.RoleResourceV2.getRoles(RoleResourceV2.java:165)
How to reproduce:
Expected behavior:
When retrieving roles, roles without an audience or roles with corrupted or null audience values should be skipped.
Environment information (Please complete the following information; remove any unnecessary fields) :
Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]
Optional Fields
Related issues:
Suggested labels:
The text was updated successfully, but these errors were encountered:
Describe the issue:
When attempting to retrieve a list of v2 roles, an error occurs when encountering roles with corrupted or invalid audience information. For example, in scenarios where an application was deleted without its associated roles being properly handled, the roles-related table may contain audience references associated with the deleted application.
How to reproduce:
Expected behavior:
Environment information (Please complete the following information; remove any unnecessary fields) :
Optional Fields
Related issues:
Suggested labels:
The text was updated successfully, but these errors were encountered: