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… 396Number of Views RSA Identity Governance & Lifecycle Identity Data Collection is failing due to ORA-00904: CUS_ATTR_USER_CAS_XX invalid ide… 594Number of Views Cloud Access Service and Authenticators Historical Release Notes (November 2024 - April 2024) 494Number of Views Change Requests stuck in the AFX Fulfillment Handler Workflow Node and Workflows Stalled in RSA Identity Governance & Life… 1.11KNumber of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Reporting on RSA Authentication Manager 8.x users with On-Demand Token, a fixed passcode or a hardware/software token assi… How to Download OTP Token Seed Files from myRSA Anomalix idGenius - SAML Relying Party Configuration - RSA Ready Implementation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?