Unable to delete user that exist in rooms

hi guys,

we are using openfire 4.0.2 and after deleting a user from the system thorugh openfire dashboard we get this messages

017.03.20 15:32:54 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:54 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource d240d60b-d917-4c57-931f-91dac37eb40d

2017.03.20 15:32:54 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:54 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource e1839990-f033-44dd-819c-93fb45d43fdb

2017.03.20 15:32:54 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource 1a24ea72-28e7-4d1f-9a9a-c14a58596bc2

2017.03.20 15:32:54 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource 9c76eb0e-9f76-470e-b76c-08c0c3851c3a

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource 473ce763-16ec-4a08-b502-9f093eaebed3

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource da391c58-831f-48b7-9554-08ba67475ef7

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource eb2104e6-816e-4919-833a-89368d7ef10f

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource eb2104e6-816e-4919-833a-89368d7ef10f

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:55 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:56 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:56 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:56 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

2017.03.20 15:32:56 org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - UserNotFoundException: Could not get user with ressource c9ef7889-430e-4169-8851-e36cd25378df

can someone please assist what is the best way to remove a user?

have tried to find user without resources i mean just pass bare jid instead of full jid hope it will work for you

are you suggesting override the openfire code because the problem is when trying to get user rooms, and getting to this specific code:

convertToMUCRoomEntity in MUCRoomController > convertJIDsToMembersList in MUCRoomUtils