EM Throws Exceptions When Editing or Importing OWSM Policies (Doc ID 1549167.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Web Services Manager - Version 11.1.1.4.0 to 11.1.1.6.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

A non-default LDAP is used.

When trying to edit OWSM policies in EM, exceptions are observed. Many user actions in EM modifying OWSM policies are affected, such as

Some such actions go through despite the exceptions, whereas some such actions fail.

Example exceptions:

[2013-03-21T10:01:08.981+01:00] [AdminServer] [NOTIFICATION:32] [] [oracle.sysman.emSDK.view.errPopup.ErrorPopupUtil] [tid:
[ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: NDBC37] [ecid: 254ac5ef3aea580a:-
18d1ff2d:13d8c26b0ad:-8000-000000000000005b,0] [APP: em] [[
java.lang.NullPointerException
       at oracle.sysman.emas.model.security.DialogAdminBean.fetchEntRoles(DialogAdminBean.java:706)
       at oracle.sysman.emas.model.security.DialogAdminBean.fetchRoleList(DialogAdminBean.java:544)
       at oracle.sysman.emas.model.security.DialogAdminBean.searchRole(DialogAdminBean.java:482)
       at oracle.sysman.emas.pagemodel.policymgr.PolicyPageModel.initializeData(PolicyPageModel.java:188)
       at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
       at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
       at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
       at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:128)
       at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:101)
       at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:867)
       at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
[...]

[2013-03-21T09:51:23.719+01:00] [AdminServer] [NOTIFICATION:32] [] [oracle.sysman.emSDK.view.errPopup.ErrorPopupUtil] [tid:
[ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: NDBC37] [ecid: 254ac5ef3aea580a:6
efaa6d5:13d8c156283:-8000-00000000000000ea,0] [APP: em] java.lang.NullPointerException[[
javax.el.ELException: java.lang.NullPointerException
       at com.sun.el.parser.AstValue.invoke(AstValue.java:191)
       at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
       at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
       at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:276)
       at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
       at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
       at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
       at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
       at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
       at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
       at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
       at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
       at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
       at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
       at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
       at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
       at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
       at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
       at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
       at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
       at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
[...]
Caused by: java.lang.NullPointerException
       at oracle.sysman.emas.model.security.DialogAdminBean.fetchEntRoles(DialogAdminBean.java:706)
       at oracle.sysman.emas.model.security.DialogAdminBean.fetchRoleList(DialogAdminBean.java:544)
       at oracle.sysman.emas.model.security.DialogAdminBean.searchRole(DialogAdminBean.java:482)
       at oracle.sysman.emas.view.policymgr.PolicyManagerViewBean.policySelectionListener(PolicyManagerViewBean.java:243)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
       ... 77 more
 

The exceptions can be observed both in a popup created by EM and in emoms.log.

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