My Oracle Support Banner

OAM 11.1.2.3 upgradeConfig fails "PolicyEntityPlugin : java.lang.NullPointerException" "oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin reported failure for featureID: OAMEntityStoreR2PS3" (Doc ID 2282574.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.2.8 and later
Information in this document applies to any platform.

Symptoms

OAM upgrade from 11.1.2.2 to 11.1.2.3 fails at upgradeconfig step during the upgrade process with error as below.


$ export WLST_PROPERTIES="-Djava.net.preferIPv4Stack=true"

$ echo $WLST_PROPERTIES
-Djava.net.preferIPv4Stack=true


$ ./wlst.sh
CLASSPATH=/opt/app/oracle/product/fmw11g/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/app/oracle/product/fmw11g/patch_ocp37
1/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/app/oracle/product/jdk1.7.0_15/lib/tools.jar:/opt/app/oracle/product/fmw11g/wlserver_10.3/
server/lib/weblogic_sp.jar:/opt/app/oracle/product/fmw11g/wlserver_10.3/server/lib/weblogic.jar:/opt/app/oracle/product/fmw11g/modules/features/weblogic.ser
ver.modules_10.3.6.0.jar:/opt/app/oracle/product/fmw11g/wlserver_10.3/server/lib/webservices.jar:/opt/app/oracle/product/fmw11g/modules/org.apache.ant_1.7.1
/lib/ant-all.jar:/opt/app/oracle/product/fmw11g/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/app/oracle/product/fmw11g/Oracle_IDM1/oam/
server/lib/wlst/configupgrade.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/oam/server/tools/policy/lib/policy-tools.jar:/opt/app/oracle/product/fmw11g/Ora
cle_IDM1/oam/server/lib/wlst/policy-entity.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/oam/server/lib/wlst/oam-wlst.jar:/opt/app/oracle/product/fmw11g/Or
acle_IDM1/oam/server/lib/wlst/sts-wlst.jar:/opt/app/oracle/product/fmw11g/utils/config/10.3/config-launch.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/oms
s/omsas/modules/oracle.idm.gateway.gms_11.1.1/gms.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/omss/omsas/modules/oracle.idm.gateway.gw-cli_11.1.1/gw-cli.
jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/omss/omsas/modules/oracle.idm.gateway.gw-common_11.1.1/gw-common.jar:/opt/app/oracle/product/fmw11g/Oracle_ID
M1/omss/omsas/modules/oracle.idm.gateway.gw-snapshot_11.1.1/gw-snapshot.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/omss/omsas/modules/oracle.idm.gateway
.gms-mbean_11.1.1/gms-mbean.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/resources/oes-common.jar:/opt/app/oracle/product/fmw11g/Oracle_IDM1/c
ommon/wlst/resources/oic-wlst.jar:/opt/app/oracle/product/fmw11g/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/app/oracle/product/fmw11g/orac
le_common/common/wlst/lib/adfscripting.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/app/oracle/product/fm
w11g/oracle_common/common/wlst/lib/mdswlst.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/auditwlst.jar:/opt/app/oracle/product/fmw1
1g/oracle_common/common/wlst/resources/igfwlsthelp.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/jps-wlst.jar:/opt/app/oracle/produ
ct/fmw11g/oracle_common/common/wlst/resources/jps-wls-trustprovider.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt
/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/oamap_help.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/oamAuthnPro
vider.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resou
rces/ossoiap.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst
/resources/sslconfigwlst.jar:/opt/app/oracle/product/fmw11g/oracle_common/common/wlst/resources/wsm-wlst.jar:/opt/app/oracle/product/fmw11g/utils/config/10.
3/config-launch.jar::/opt/app/oracle/product/fmw11g/wlserver_10.3/common/derby/lib/derbynet.jar:/opt/app/oracle/product/fmw11g/wlserver_10.3/common/derby/li
b/derbyclient.jar:/opt/app/oracle/product/fmw11g/wlserver_10.3/common/derby/lib/derbytools.jar::
.
Initializing WebLogic Scripting Tool (WLST) ...
.
Welcome to WebLogic Server Administration Scripting Shell
.
Type help() for help on available commands
.
wls:/offline> upgradeConfig("/opt/app/oracle/admin/domains/OAMDomain", "SYS",
"jockey1", "UAT2_OAM",
"jdbc:oracle:thin:@dodaid0-scan.walgreens.com:1521/uidm2")
Jun 30, 2017 8:29:54 AM
oracle.security.am.upgrade.framework.psfe.PSFEFramework disableConfigService
INFO: Disabling the Config Store Observer until the upgradeConfig is performed
WLS ManagedService is not up running. Fall back to use system properties for configuration.
Jun 30, 2017 8:30:11 AM oracle.security.audit.Auditor init
WARNING: IAU:IAU-6012: Unable to determine the audit log directory. No log directory specified.
Jun 30, 2017 8:30:11 AM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Jun 30, 2017 8:30:11 AM oracle.security.jps.internal.audit.AuditServiceImplvalidateLogPossible
WARNING: No audit log directory is set. Cannot perform audit operations for component JPS.
Jun 30, 2017 8:30:16 AM
oracle.security.am.common.policy.admin.provider.xml.XMLStore <init>
INFO: Loading policy store file:
/opt/app/oracle/admin/domains/OAMDomain/config/fmwconfig/exported-oam-policy.xml.
Jun 30, 2017 8:30:17 AM
oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin process
SEVERE: Exception while running PSFE PolicyEntityPlugin :
java.lang.NullPointerException
at
oracle.security.am.common.policy.admin.impl.PolicyUtil.cleanUpPolicy(PolicyUtil.java:2002)
at
oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin.exportPolicyAndAdminRoleMember(PolicyEntityPlugin.java:150)
at
oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin.upgradeFromR2ToR2PS3(PolicyEntityPlugin.java:106)
at
oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin.process(PolicyEntityPlugin.java:68)
at
oracle.security.am.upgrade.framework.psfe.PSFEFramework.process(PSFEFramework.java:330)
at
oracle.security.am.upgrade.framework.psfe.PSFEFramework.processOffline(PSFEFramework.java:213)
at
oracle.security.am.wlst.util.WLSTServerUtil.executeCommand(WLSTServerUtil.java
:267)
at
oracle.security.am.wlst.WLSTWrapper.executeCommand(WLSTWrapper.java:163)
at oracle.security.am.wlst.WLSTWrapper.execute(WLSTWrapper.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
OamInternal_handler$py.patchUpgradeImpl$88(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py:1474)
at
OamInternal_handler$py.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
Oam_common$py.upgradeConfig$85(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py:1019)
at
Oam_common$py.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
org.python.pycode._pyx52.upgradeConfig$86(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py:645)
at
org.python.pycode._pyx52.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx67.f$0(<console>:1)
at org.python.pycode._pyx67.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at weblogic.WLST.main(WLST.java:29)
.
Jun 30, 2017 8:30:17 AM
oracle.security.am.upgrade.framework.psfe.PSFEFramework process
SEVERE: Plugin
oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin reported
failure for featureID: OAMEntityStoreR2PS3
Jun 30, 2017 8:30:17 AM
oracle.security.am.upgrade.framework.psfe.PSFEFramework process
SEVERE: Exception has occurred while processing featureID:
OAMEntityStoreR2PS3. Stopping the process after calling rollback.
oracle.security.am.upgrade.framework.psfe.PSFEException: Plugin
oracle.security.am.upgrade.framework.psfe.plugin.PolicyEntityPlugin reported
failure for featureID: OAMEntityStoreR2PS3 Cause: null
at
oracle.security.am.upgrade.framework.psfe.PSFEFramework.process(PSFEFramework.java:369)
at
oracle.security.am.upgrade.framework.psfe.PSFEFramework.processOffline(PSFEFramework.java:213)
at
oracle.security.am.wlst.util.WLSTServerUtil.executeCommand(WLSTServerUtil.java:267)
at
oracle.security.am.wlst.WLSTWrapper.executeCommand(WLSTWrapper.java:163)
at oracle.security.am.wlst.WLSTWrapper.execute(WLSTWrapper.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
OamInternal_handler$py.patchUpgradeImpl$88(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py:1474)
at
OamInternal_handler$py.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
Oam_common$py.upgradeConfig$85(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py:1019)
at
Oam_common$py.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
org.python.pycode._pyx52.upgradeConfig$86(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py:645)
at
org.python.pycode._pyx52.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx67.f$0(<console>:1)
at org.python.pycode._pyx67.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at weblogic.WLST.main(WLST.java:29)

 


Jun 30, 2017 8:30:17 AM oracle.security.am.wlst.WLSTWrapper execute
SEVERE: Unable to execute the WLST Command
java.lang.Exception: upgradeConfig failed
at
oracle.security.am.wlst.util.WLSTServerUtil.executeCommand(WLSTServerUtil.java:269)
at
oracle.security.am.wlst.WLSTWrapper.executeCommand(WLSTWrapper.java:163)
at oracle.security.am.wlst.WLSTWrapper.execute(WLSTWrapper.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
OamInternal_handler$py.patchUpgradeImpl$88(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py:1474)
at
OamInternal_handler$py.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
Oam_common$py.upgradeConfig$85(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py:1019)
at
Oam_common$py.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at
org.python.pycode._pyx52.upgradeConfig$86(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py:645)
at
org.python.pycode._pyx52.call_function(/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx67.f$0(<console>:1)
at org.python.pycode._pyx67.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at weblogic.WLST.main(WLST.java:29)
.
java.lang.Exception: upgradeConfig failed
Got an exception
Traceback (innermost last):
File "<console>", line 1, in ?
File "/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py", line
645, in upgradeConfig
File
"/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/Oam_common.py", line 1019, in upgradeConfig
File
"/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/script_handlers/OamInternal_handler.py", line 1479, in patchUpgradeImpl
at
oracle.security.am.wlst.util.WLSTServerUtil.executeCommand(WLSTServerUtil.java:269)
at
oracle.security.am.wlst.WLSTWrapper.executeCommand(WLSTWrapper.java:163)
at oracle.security.am.wlst.WLSTWrapper.execute(WLSTWrapper.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
.
java.lang.Exception: java.lang.Exception: upgradeConfig failed

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.