My Oracle Support Banner

NullPointerException When Registering Oracle Jdbc Diagnosibility Mbean (Doc ID 1270966.1)

Last updated on NOVEMBER 22, 2021

Applies to:

JDBC - Version 11.1.0.6 to 11.1.0.7 [Release 11.1]
Information in this document applies to any platform.

Symptoms

Application uses JDBC Driver 11.1.0.7 in an application server environment gets following error

SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
java.lang.NullPointerException
at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:297)
at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:209)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:205)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)


Changes

Upgraded the JDBC driver from 10.2.x to 11.1.x

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.