Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MI-4.0.0] NullPointerException when trying to Delete a Hybrid Role for the user #3651

Open
imedyaosandi opened this issue Oct 2, 2024 · 0 comments
Labels

Comments

@imedyaosandi
Copy link

Description

When trying to delete an assigned Hybrid Role for a user we can observe the below NullPointerException. However, the role deletion is getting successful.

Exception occurred when running org.wso2.carbon.inbound.endpoint.protocol.http.InboundHttpServerWorker java.lang.NullPointerException
	at org.wso2.micro.integrator.security.user.core.hybrid.JdbcHybridRoleManager.updateHybridRoleListOfUser(JdbcHybridRoleManager.java:653)
	at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.updateRoleListOfUserInternal(AbstractUserStoreManager.java:3396)
	at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.access$300(AbstractUserStoreManager.java:94)
	at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager$6.run(AbstractUserStoreManager.java:3239)
	at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager$6.run(AbstractUserStoreManager.java:3236)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.updateRoleListOfUser(AbstractUserStoreManager.java:3236)
	at org.wso2.micro.integrator.management.apis.RolesResource.handlePut(RolesResource.java:204)
	at org.wso2.micro.integrator.management.apis.RolesResource.invoke(RolesResource.java:99)
	at org.wso2.micro.integrator.management.apis.ApiResourceAdapter.invoke(ApiResourceAdapter.java:55)
	at org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIDispatcher.dispatch(InternalAPIDispatcher.java:87)
	at org.wso2.carbon.inbound.endpoint.protocol.http.InboundHttpServerWorker.run(InboundHttpServerWorker.java:114)
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Steps to Reproduce

No response

Affected Version(s)

MI-4.0.0

OS, DB, other environment details and versions

No response

Related issue(s) (optional)

No response

Suggested label(s) (optional)

Bug

Suggested assignee(s) (optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant