OAM11gR2 : configureSecurityStore.py gives NullPointerException Error (Doc ID 1539345.1)

Last updated on SEPTEMBER 28, 2016

Applies to:

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

Symptoms

This is a new 11gR2 install. All the prior steps are fine but when you run the following:

configureSecurityStore.py -d <OAM_DOMAIN> -c IAM -p <password> -m create

you receive the following exception:

Info: Data source is: opss-DBDS
Info: DB JDBC driver: oracle.jdbc.OracleDriver
Info: DB JDBC URL: jdbc:oracle:thin:@<DBHost>:<DBPort>/<DBHInst>
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkServiceSetup - done
Mar 19, 2013 1:26:43 PM oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigurator schemaCompatibleHandler
INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.6.0 is compatible to the seed schema version 11.1.1.4.0
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkServiceSchema - Store schema has been seeded completely
Exception in thread "Main Thread" java.lang.ExceptionInInitializerError
       at oracle.ldap.util.guid.GUIDGenerator.nextGuidInBytes(GUIDGenerator.java:118)
       at oracle.ldap.util.Guid.<init>(Guid.java:101)
       at oracle.ldap.util.Guid.newInstance(Guid.java:93)
       at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreUtil.createNewGranteeDN(XmlPolicyStoreUtil.java:1832)
       at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processGranteeEntity(StaxPolicyStoreParser.java:5428)
       at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processGrantEntity(StaxPolicyStoreParser.java:5225)
       at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processJaznPolicyToEntity(StaxPolicyStoreParser.java:5171)
       at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processAdminPolicy(StaxPolicyStoreParser.java:1749)
       at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processSystemPolicy(StaxPolicyStoreParser.java:646)
       at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processPolicyStore(StaxPolicyStoreParser.java:570)
       at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntryStax(XmlDataStoreParser.java:120)
       at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:180)
       at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:187)
       at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.loadXmlDataStore(XmlDataStore.java:411)
       at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.<init>(XmlDataStore.java:276)
       at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.getInstance(XmlDataStore.java:209)
       at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:509)
       at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.<init>(XmlPolicyStore.java:293)
       at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:102)
       at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:76)
       at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
       at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
       at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
       at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
       at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
       at oracle.security.jps.internal.core.runtime.JpsServiceLocatorImpl.lookup(JpsServiceLocatorImpl.java:55)
       at oracle.security.jps.util.AuthZAuditUtil.initAuditor(AuthZAuditUtil.java:182)
       at oracle.security.jps.util.AuthZAuditUtil.isEventLoggable(AuthZAuditUtil.java:140)
       at oracle.security.jps.util.AuthZAuditUtil.auditAuthZ(AuthZAuditUtil.java:431)
       at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:554)
       at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:643)
       at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.resetCredential(SspCredentialStore.java:620)
       at oracle.security.jps.internal.config.BootstrapCredentialService.resetBootStrapCredKey(BootstrapCredentialService.java:217)
       at oracle.security.jps.internal.config.BootstrapCredentialService.resetBootstrapCredential(BootstrapCredentialService.java:198)
       at oracle.security.jps.internal.config.ldap.AbstractServiceConfigurator.updateServiceConfiguration(AbstractServiceConfigurator.java:178)
       at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.runConfiguration(LdapServiceEnabler.java:421)
       at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.configureCredentialStoreService(LdapServiceEnabler.java:221)
       at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.configureSecurityServices(LdapServiceEnabler.java:160)
       at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.main(LdapServiceEnabler.java:119)
Caused by: java.lang.NullPointerException
       at oracle.ldap.util.guid.GUIDParamGenerator.generateNodeID(GUIDParamGenerator.java:72)
       at oracle.ldap.util.guid.GUIDStateManager.initializeGUIDParameters(GUIDStateManager.java:81)
       at oracle.ldap.util.guid.GUIDStateManager.<init>(GUIDStateManager.java:56)
       at oracle.ldap.util.guid.GUIDStateManager.<clinit>(GUIDStateManager.java:50)
       ... 39 more
Error: Failed to initialize security store.
Error: Create operation has failed.

 

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