Bug #72502 NullPointerException in isInterfaceJdbc() when using DynaTrace
Submitted: 1 May 2014 18:26 Modified: 17 Jul 2014 16:04
Reporter: Jess Balint Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.7, 5.1.30 OS:Any
Assigned to: Jess Balint CPU Architecture:Any
Tags: load-balancing, loadbalance, proxy

[1 May 2014 18:26] Jess Balint
Description:
A null pointer exception is seen when calling LoadBalancingConnectionProxy.isInterfaceJdbc()

Class instrumentation may return a null classloader.

How to repeat:
Programs such as DynaTrace that instrument classes may create unexpected class and classloader relationships.
[17 Jul 2014 16:04] Daniel So
Added the following entry to the Connector/J 5.1.32 changelog:

"A null pointer exception was thrown in isInterfaceJdbc() sometimes when load balancing was used and the application involved runtime instrumentations."