java.lang.ExceptionInInitializerError / java.lang.NullPointerException / java.lang.NoClassDefFoundError after applying the January 2018 OJVM PSU patch

(Doc ID 2365509.1)

Last updated on APRIL 23, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

DB VERSION:  12.1.0.2 with OJVM PSU Jan 2018

Java stored procedures failing with java.lang.ExceptionInInitializerError / java.lang.NullPointerException / java.lang.NoClassDefFoundError after applying the Jan 2018 OJVM PSU patch

Error stack:
*** 2018-02-22 15:21:49.210
*** SESSION ID:(645.62084) 2018-02-22 15:21:49.210
*** CLIENT ID:() 2018-02-22 15:21:49.210
*** SERVICE NAME:(oa048srv) 2018-02-22 15:21:49.210
*** MODULE NAME:(w3wp.exe) 2018-02-22 15:21:49.210
*** CLIENT DRIVER:() 2018-02-22 15:21:49.210
*** ACTION NAME:() 2018-02-22 15:21:49.210

Exception in thread "Root Thread" java.lang.ExceptionInInitializerError
       at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1175)
       at java.lang.ClassLoader.getResource(ClassLoader.java:1014)
       at java.lang.ClassLoader.getResource(ClassLoader.java:1012)
       at java.lang.ClassLoader.getSystemResource(ClassLoader.java:1133)
       at java.lang.Class.getResource(Class.java:2142)
...
..
Caused by: java.lang.NullPointerException
at java.io.File.(File.java:269)
at sun.jkernel.DownloadManager.getBundlePath(DownloadManager.java:622)
at sun.jkernel.DownloadManager$2.run(DownloadManager.java:165)
at java.security.AccessController.doPrivileged(Native Method)
at sun.jkernel.DownloadManager.(DownloadManager.java:155)
... 51 more
Exception in thread "Root Thread" java.lang.NoClassDefFoundError

Changes

 Applied the January 2018 OJVM PSU

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