Save User Twice Results In NPE (Doc ID 1138664.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.1.1 and later   [Release: 6.1 and later ]
Information in this document applies to any platform.

Symptoms

When checking the user roles and access rights via the user manager, and saving the result, then editing and saving it again, the following null pointer is thrown:

java.lang.NullPointerException
at glog.database.security.SecuritySessionBean.getUserWithReservedFlags(SecuritySessionBean.java:104)
at glog.database.security.SecuritySessionHome_snlvan_EOImpl.getUserWithReservedFlags(SecuritySessionHome_snlvan_EOImpl.java:4002)
at glog.database.security.SecuritySessionHome_snlvan_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:478)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

When the user then tries to log in as this user, he receives an error:

A connection to the server could not be established: null (user=<user ID>)

Please note that this only happens with existing, i.e. migrated users. For new users it is possible to assign user roles and access rights without any problems.


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