OpenSSO Policy Agent Incorrect User Credentials Settings Cause A NullPointerException

(Doc ID 1319229.1)

Last updated on SEPTEMBER 21, 2016

In this Document
  Symptoms
  Changes
  Cause
  Solution


Symptoms

The following Error is reported amFilter log denying access to the protected resource.

amFilter: Thread[[ACTIVE] ExecuteThread: '102' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads]
ERROR: AmFilter: Error while delegating to inbound handler: Profile Attribute Task Handler, access will be denied
[AgentException Stack]
com.sun.identity.agents.arch.AgentException: Unable to obtain attributes: {cif=USER_DOC_ID, description=USER_DOC_TYPE, uid=LOGIN_UID, flagautorizado=flg_authorized}, for user: uid=user,ou=Customers,ou=People,o=domain,o=isp
at com.sun.identity.agents.common.ProfileAttributeHelper.getAttributeMap(ProfileAttributeHelper.java:137)
at com.sun.identity.agents.common.ProfileAttributeHelper.getAttributeMap(ProfileAttributeHelper.java:153)
at com.sun.identity.agents.filter.ProfileAttributeTaskHandler.getUserAttributes(ProfileAttributeTaskHandler.java:64)
at com.sun.identity.agents.filter.AttributeTaskHandler.process(AttributeTaskHandler.java:78)
at com.sun.identity.agents.filter.AmFilter.processTaskHandlers(AmFilter.java:173)
at com.sun.identity.agents.filter.AmFilter.isAccessAllowed(AmFilter.java:135)
at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:66)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
--------
java.lang.NullPointerException

Changes

The Exception occurs after the AMAgent.properties file is copied from one instance of OpenSSO/Access Manager to another.

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