NullPointerException and ClassNotFoundException when installing RSA Identity Governance & Lifecycle 7.1.0 on WebLogic
Originally Published: 2018-05-23
Last Modified: 2022-06-20
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
How to customize the application using customizeACM.sh in RSA Identity Governance & Lifecycle 354Number of Views After starting AFX, some AFX Connectors fail to go to a Running state due to Out of Memory errors in RSA Identity Governan… 398Number of Views RSA Identity Governance & Lifecycle Identity Data Collection is failing due to ORA-00904: CUS_ATTR_USER_CAS_XX invalid ide… 595Number of Views Cloud Access Service and Authenticators Historical Release Notes (November 2024 - April 2024) 505Number of Views Change Requests stuck in the AFX Fulfillment Handler Workflow Node and Workflows Stalled in RSA Identity Governance & Life… 1.12KNumber of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide User Application Portal The RSA Identity Governance & Lifecycle AD Collector and AD ADC authentication source fail to establish a TLS 1.2 SSL conn… How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console Unable to Resolve User by Login ID and/or Alias or Authenticator Not Assigned to User When Attempting to Authenticate via …
Don't see what you're looking for?