OPSS - Getting NullPointerException While running reconfig as part of SOA Upgrade (Doc ID 2128247.1)

Last updated on APRIL 24, 2016

Applies to:

Oracle Platform Security for Java - Version 11.1.1.6.0 to 12.1.3.0.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

Getting NullPointerException While running reconfig as part of SOA Upgrade (11.1.1.6 to 12.2.1)

2016-04-15 17:03:24,357 FINE [80] oracle.security.jps.internal.keystore.KeyStoreProvider - location : /wls/dev/MWE/spsoa11test1/spsoa11test1DevSP116SOADomain/config/fmwconfig/default-keystore.jks
2016-04-15 17:03:24,358 FINE [80] oracle.security.jps.internal.keystore.KeyStoreProvider - uniqueKey : wlsdevMWEspsoa11test1spsoa11test1DevSP116SOADomainconfigfmwconfigdefault-keystore.jkskeystore.providerkeystore.db
2016-04-15 17:03:24,385 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-15 17:03:24,385 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=jpsrootnode, farmNameDN: cn=spsoa11test1DevSP116SOADomain
2016-04-15 17:03:24,385 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=spsoa11test1DevSP116SOADomain,cn=JPSContext,cn=jpsrootnode
2016-04-15 17:03:24,386 FINE [80] oracle.security.jps.internal.keystore.ldap.KeyStoreDataManager - farmDN : cn=spsoa11test1DevSP116SOADomain,cn=JPSContext,cn=jpsrootnode
2016-04-15 17:03:24,386 FINE [80] oracle.security.jps.internal.keystore.ldap.KeyStoreDataManager - fksStoreDN : cn=FarmKeyStore,cn=spsoa11test1DevSP116SOADomain,cn=JPSContext,cn=jpsrootnode
2016-04-15 17:03:24,396 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-15 17:03:24,397 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=jpsrootnode, farmNameDN: cn=spsoa11test1DevSP116SOADomain
2016-04-15 17:03:24,397 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=spsoa11test1DevSP116SOADomain,cn=JPSContext,cn=jpsrootnode
2016-04-15 17:03:24,397 WARNING [80] oracle.security.jps.internal.keystore.ldap.KeyStoreDataManager - Reason: java.lang.NullPointerException
2016-04-15 17:03:24,398 FINE [80] oracle.security.jps.internal.keystore.KeyStoreProvider - serviceInstances : {wlsdevMWEspsoa11test1spsoa11test1DevSP116SOADomainconfigfmwconfigdefault-keystore.jkskeystore.providerkeystore.db=oracle.security.jps.internal.keystore.ldap.LdapKeyStoreServiceImpl@22dbcba9}
2016-04-15 17:03:24,398 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-15 17:03:24,398 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=jpsrootnode, farmNameDN: cn=spsoa11test1DevSP116SOADomain
2016-04-15 17:03:24,399 FINE [80] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=spsoa11test1DevSP116SOADomain,cn=JPSContext,cn=jpsrootnode
2016-04-15 17:03:24,399 FINE [80] oracle.security.jps.upgrade.tools.KeyStoreUpgrade - Exception in checking for democa store
java.lang.NullPointerException
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getEMFKey(JpsDBDataManager.java:1906)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getEMFKey(JpsDBDataManager.java:1873)
..............
2016-04-15 17:03:24,400 FINE [80] oracle.security.jps.upgrade.tools.utility.Upgrade - Upgrade DIT and Data error!
oracle.security.jps.JpsException: java.lang.NullPointerException
at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.checkForDemoCA(KeyStoreUpgrade.java:432)
at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.upgradeDITAndData(KeyStoreUpgrade.java:265)
..............
Caused by: java.lang.NullPointerException
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getEMFKey(JpsDBDataManager.java:1906)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getEMFKey(JpsDBDataManager.java:1873)
..............
2016-04-15 17:03:24,404 FINE [80] oracle.security.jps.upgrade.tools.utility.Upgrade - Upgrade OPSS error!

Caused by: oracle.security.jps.JpsException: java.lang.NullPointerException
at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.checkForDemoCA(KeyStoreUpgrade.java:432)
at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.upgradeDITAndData(KeyStoreUpgrade.java:265)
..............
2016-04-15 17:03:24,447 FINE [80] oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl - Error during upgrading OPSS domain. Exception oracle.security.jps.JpsException: java.lang.NullPointerException
..............
2016-04-15 17:03:24,447 SEVERE [80] oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration - Error while processing initializeSubsystem. Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.JpsException: java.lang.NullPointerException
oracle.security.jps.JpsException: java.lang.NullPointerException
at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.checkForDemoCA(KeyStoreUpgrade.java:432)
at oracle.security.jps.upgrade.tools.KeyStoreUpgrade.upgradeDITAndData(KeyStoreUpgrade.java:265)
..............
2016-04-15 17:03:24,474 FINE [80] com.oracle.cie.domain.opss.SecurityConfigurationFactoryRunner - The OPSS Security Configuration Abort Process Started...
2016-04-15 17:03:24,474 FINE [80] com.oracle.cie.domain.opss.SecurityConfigurationFactoryRunner - The OPSS Security Configuration Abort Process Ended...
2016-04-15 17:03:24,474 SEVERE [80] com.oracle.cie.domain.TemplateImporter - Domain Reconfiguration Failed!


The issue was observed while Following this document:
SOA 11g to 12c upgrade summary (Doc ID 1958724.1)

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