Error Attempting To Delete An Existing User And Creating The User Again (Doc ID 758013.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.05 to 5.5.05.03
This problem can occur on any platform.

Symptoms

-- Problem Statement:
On 5.5.05, When attempting to delete an existing user, the user gets deleted from the Database but an exception occurs. In addition to this, when the same user is attempted to be added, there is a different error that occurs


ERROR
2008-11-28 12:02:10.655 0 Error Exception java.lang.NullPointerException

java.lang.NullPointerException
at glog.database.security.dbrealm.CachingRealm.deletePrincipal(CachingRealm.java:666)
at glog.database.security.dbrealm.CachingRealm.access$400(CachingRealm.java:30)
at glog.database.security.dbrealm.CachingRealm$6.executeApp(CachingRealm.java:603)
at glog.database.security.dbrealm.CachingRealm.broadcast(CachingRealm.java:1549)
The above is the error when deleting the user
Could not update user info for user <USER ID>

Could not update user amounts for user <USER ID>

Write_Record_Failure (cachedUser=<USER ID>/null/ADMIN, class=class
glog.ejb.invoice.InvoiceSigningAuthorityServerSideEJBWrapper, currentUserName=<USER ID>,
primaryContext=<USER ID>, vpdUser=<USER ID>/<USER ID>/ADMIN)
The above is the error when re-adding the user

-- Steps To Reproduce:
The issue can be reproduced at will with the following steps:
1. Delete an existing user and see that the user is deleted in the database. But an exception occurs
2. Try to add the user again and see that there are other exceptions thrown



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms