NullPointerException and ClassNotFoundException when installing RSA Identity Governance & Lifecycle 7.1.0 on WebLogic
Originally Published: 2018-05-23
Article Number
Applies To
RSA Version/Condition: 7.1.0
Platform: WebLogic
Issue
weblogic.application.ModuleException: java.lang.NullPointerException at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187) at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83) at weblogic.work.ContextWrap.run(ContextWrap.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415) at weblogic.work.ExecuteThread.run(ExecuteThread.java:355) Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at weblogic.spring.monitoring.instrumentation.SpringClassPreprocessor.createSpringInstrumentorEngineIfNecessary(SpringClassPreprocessor.java:67) at weblogic.spring.monitoring.instrumentation.SpringClassPreprocessor.<init>(SpringClassPreprocessor.java:26) at weblogic.spring.monitoring.instrumentation.SpringInstrumentationUtils.addSpringInstrumentor(SpringInstrumentationUtils.java:87) at weblogic.servlet.internal.WebAppInternalModuleExtension$SpringInstrumentationExtension.doInstrumentation(WebAppInternalModuleExtension.java:113) at weblogic.servlet.internal.WebAppInternalModuleExtension$SpringInstrumentationExtension.access$400(WebAppInternalModuleExtension.java:102) at weblogic.servlet.internal.WebAppInternalModuleExtension.prePrepare(WebAppInternalModuleExtension.java:57) at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:293) at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109) ... 13 more
Task 1 initiated: [Deployer:149026]deploy application aveksaWFArchitect on Cluster1. Task 1 failed: [Deployer:149026]deploy application aveksaWFArchitect on Cluster1. Target state: deploy failed on Cluster Cluster1 java.lang.ClassNotFoundException: org.springframework.security.oauth2.client.token.AccessTokenRequest java.lang.ClassNotFoundException: org.springframework.security.oauth2.client.token.AccessTokenRequest 2018-03-06 10:06:29 +0000 [lonindapmp1] [error] App deployment for aveksaWFArchitect.ear failed 2018-03-06 10:06:29 +0000 [lonindapmp1] [error] Redeploy_domain: couldn't deploy ap0912.int2 failed to redeploy ap0912 int2 (Governor)
Cause
The aveksaWFArchitect.ear requires the removal of a .jar file, causing the ClassNotFoundException.
Resolution
For the aveksa.ear
- Add the parameter o last occurence of JAVA_OPTIONS to the JVM parameters.
-DANTLR_USE_DIRECT_CLASS_LOADING=true
- Stop all the servers.
- Clear the tmp and cache folders under each server directory.
- Restart the servers.
- Deploy the application.
For the aveksaWFArchitect.ear
Contact RSA Customer Support to obtain a patched version of the aveksaWFArchitect.ear which omits .jar files for the Spring Framework. This fix will be included in future releases.
Related Articles
RSA Identity Governance & Lifecycle Entitlements Data Collector (EDC) failure EC[31002] 112Number of Views Get Java Auth API sample code to authenticate consistently with 'Requires Name Lock' enabled 35Number of Views AFX failure when Proxy is enabled without defining Proxy Host or Port values in RSA Governance & Lifecycle 137Number of Views Event log entries caused by RSA Authentication Agent 5.3 for Web for Microsoft IIS 17Number of Views Data runs show error: Exception while executing filter query RSA Identity Governance & Lifecycle 6.8 and above 226Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?