75 ways to demystify DB2: #17: Expert Advice: NullPointerException while loading DB2 JCC driver using Custom class loader.
Subbu Prabhu 060001JD9S Visits (7979)
Issue: NullPointerException was thrown when one of our customers tried to load latest DB2 JCC driver (db2jcc.jar - V10.1 and above) using a custom class loader ( like open source module NestedJarClassLoader). The same worked while loading old DB2 V8.2 db2jcc.jar driver (2.11.24). Here is the error stack: Caused by: java.lang.NullPointerException at com.ibm.db2.jcc.am.md.run(md.java:49) at java.security.AccessController.doPrivileged(Native Method)... [More]