OPSS - Unable to to login to Capture 12.2.1.2 with a user from AD getting some NullPointerException (Doc ID 2290612.1)

Last updated on AUGUST 06, 2017

Applies to:

Oracle Platform Security for Java - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.2.0 version, Java Platform Security

WebCenter Enterprise Capture 12.2.1.2 - Users add to EM and WEC Cannot Authenticate

Customer users from the AD provider are unable to to login to Capture and getting a null pointer exception


[2017-06-29T11:36:11.466-04:00] [capture_server1] [ERROR] [] [oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 5dcab086-a399-4ca4-bd1e-7444641a494d-00000624,0] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000LnoVRmTFo2oMwUjc6G1PLFFd000004] ADF_FACES-60096:Server Exception during PPR, #7[[
javax.el.ELException: oracle.adf.model.adapter.AdapterException: DCA-29000: Unexpected exception caught: javax.ejb.EJBException, msg=EJB Exception: : java.lang.NullPointerException
at oracle.odc.security.CaptureOPSS.getUserSubject(CaptureOPSS.java:1439)
at oracle.odc.security.CaptureOPSS.loadUserRoles(CaptureOPSS.java:1162)
at oracle.odc.systemmanager.SystemManagerSessionBean.loadUserRoles(SystemManagerSessionBean.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
................
Caused by: oracle.adf.model.adapter.AdapterException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is DCA-29000. Error message parameters are {0=javax.ejb.EJBException, 1=EJB Exception: : java.lang.NullPointerException
at oracle.odc.security.CaptureOPSS.getUserSubject(CaptureOPSS.java:1439)
at oracle.odc.security.CaptureOPSS.loadUserRoles(CaptureOPSS.java:1162)
at oracle.odc.systemmanager.SystemManagerSessionBean.loadUserRoles(SystemManagerSessionBean.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
......................
Caused by: javax.ejb.EJBException: EJB Exception: : java.lang.NullPointerException
at oracle.odc.security.CaptureOPSS.getUserSubject(CaptureOPSS.java:1439)
at oracle.odc.security.CaptureOPSS.loadUserRoles(CaptureOPSS.java:1162)
at oracle.odc.systemmanager.SystemManagerSessionBean.loadUserRoles(SystemManagerSessionBean.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)
.............
Caused by: java.lang.NullPointerException
at oracle.odc.security.CaptureOPSS.getUserSubject(CaptureOPSS.java:1439)
at oracle.odc.security.CaptureOPSS.loadUserRoles(CaptureOPSS.java:1162)
at oracle.odc.systemmanager.SystemManagerSessionBean.loadUserRoles(SystemManagerSessionBean.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)
at com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:101)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)
............
[2017-06-29T11:36:38.716-04:00] [capture_server1] [NOTIFICATION] [] [oracle.ods.virtualization.engine.backend.jndi.ActiveDirectory] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 5dcab086-a399-4ca4-bd1e-7444641a494d-0000062b,0] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000LnoVRmTFo2oMwUjc6G1PLFFd000004] Priming the connection pool.ldap://[host]:636
[2017-06-29T11:36:38.731-04:00] [capture_server1] [WARNING] [LIBOVD-60024] [oracle.ods.virtualization.engine.backend.jndi.ActiveDirectory] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 5dcab086-a399-4ca4-bd1e-7444641a494d-0000062b,0] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000LnoVRmTFo2oMwUjc6G1PLFFd000004] Connection error: simple bind failed: host:636.

 

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