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

Last updated on SEPTEMBER 01, 2014

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms