My Oracle Support Banner

ORA-29532: Java.lang.NoClassDefFoundError / java.lang.ExceptionInInitializerError After Applying A 2019 OJVM PSU Patch (Doc ID 2558724.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

Custom Java Stored Procedures suddenly encounter the following exceptions after applying an OJVM PSU that includes the January 2019 OJVM PSU:


ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError
ORA-29532: Java call terminated by uncaught Java exception: java.lang.ExceptionInInitializerError

The JVM Status script confirms everything related to the JVM Component is valid.
The function DBMS_JAVA.GET_OJVM_PROPERTY(PROPSTRING=>'java.version') now shows a JDK 1.7 version

There are likely INVALID Java objects in the application schema.

Changes

 Applied a 2019 OJVM PSU that changes the base JDK version from 1.6 to 1.7

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.