ava.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Connect to DB2 from inside Oracle
    via by 599114,
  • Did not find class available in classpath
    via by Unknown author,
  • StringTokenizer / NullPointerException problem
    via by Tyler Jordan,
    • ava.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:165) at com.ibm.db2.jcc.DB2Driver.class$(DB2Driver.java:48) at com.ibm.db2.jcc.DB2Driver.<clinit>(DB2Driver.java:51) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:165) at TestDB2.DepartmentDescription(TestDB2.java:26) Caused by: java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:146) at java.util.StringTokenizer.<init>(StringTokenizer.java:162) at com.ibm.db2.jcc.c.o.i(o.java:347) at com.ibm.db2.jcc.c.o.h(o.java:338) at com.ibm.db2.jcc.c.o.<clinit>(o.java:322) ... 7 more
    No Bugmate found.