java.lang.NullPointerException during WebSphere deployment of RSA Identity Governance & Lifecycle
Originally Published: 2020-02-14
Last Modified: 2022-06-20
Article Number
Applies To
RSA Version/Condition: 7.1.1
Platform: WebSphere
Issue
Initialization Status
Initialization operations completed. Service is ready to accept requests.
java.lang.NullPointerException

Initialization operations completed. Service is ready to accept requests.
java.lang.NullPointerException
The following errors are logged in the log files:
aveksaServer.log
01/29/2020 04:56:36.251 ERROR (server.startup : 2) [com.aveksa.init.Startup] Error logging audit event on startup java.lang.NullPointerException
at com.aveksa.server.db.persistence.PersistenceServiceProvider.currentSession(PersistenceServiceProvider.java:488) ...
01/29/2020 04:56:40.953 ERROR (WebContainer : 0) [com.aveksa.gui.core.MainManager] java.lang.NullPointerException
at com.aveksa.gui.objects.system.GuiLoginPageProperties.inMaintenanceMode(GuiLoginPageProperties.java:71)
at com.aveksa.server.db.persistence.PersistenceServiceProvider.currentSession(PersistenceServiceProvider.java:488) ...
01/29/2020 04:56:40.953 ERROR (WebContainer : 0) [com.aveksa.gui.core.MainManager] java.lang.NullPointerException
at com.aveksa.gui.objects.system.GuiLoginPageProperties.inMaintenanceMode(GuiLoginPageProperties.java:71)
SystemOut.log:
1/29/20 6:36:36:139 EST java.lang.UnsupportedClassVersionError com.ibm.ws.webcontainer.servlet.ServletInstance.init 181 /opt/WebSphere/AppServer855/profiles/WAS01/logs/ffdc/Node1.txt
1/29/20 13:08:58:184 EST 1/29/20 13:09:00:542 EST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.token.WSCredentialTokenMapper.createPropagationTokenBeforeAuthenticatedCallerSet 1717 /opt/WebSphere/AppServer855/profiles/WAS01/logs/ffdc/node1.txt
These error messages indicate an incompatible JDBC driver is installed. If the JDBC driver is updated, the same or similar errors may be seen in the log files. For example, note a similar error in the SystemOut.log after updating the JDBC driver:
[1/29/20 16:35:16:949 EST] 00000097 J2CUtilityCla E J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/ibmwssib : java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=oracle/jdbc/pool/OracleConnectionPoolDataSource, offset=6
Please refer to RSA Knowledge Base Article 000030327 -- Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the log files for your specific WebSphere deployment.
Cause
WebSphere will generate an UnsupportedClassVersionError if the version of the JDBC driver used by WebSphere does not match the version of Java used by RSA Identity Governance & Lifecycle.
WebSphere will generate an UnsupportedClassVersionError if the version of Java used by WebSphere does not match the version of Java used by RSA Identity Governance & Lifecycle.
Resolution
Ensure all prerequisites have been met for WebSphere and RSA Identity Governance & Lifecycle, specifically the requirements for Java and JDBC.
- For RSA Identity Governance & Lifecycle 7.1.1, the recommended version of the JDBC driver is ojdbc8.jar.
- For RSA Identity Governance & Lifecycle 7.1.1, the recommended version of Java is Java 1.8.
Related Articles
Deployment of the aveksa.ear in a clustered environment fails with 305000 ms timeout error in RSA Identity Governance & Li… 229Number of Views Upgrade to RSA Identity Governance & Lifecycle 7.0.2 fails with message "Error occurred when determining the version of th… 204Number of Views RSA AM 7.1: Security Vulnerability reported by IBM Rational AppScan 'Potential Order Information Found' 6Number of Views 'java.io.FileNotFoundException: aveksa-version.properties' error running migrate.sh in RSA Identity Governance & Lifecycle 165Number of Views Change hostnames on a deployed production environment in RSA Web Threat Detection 35Number 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?