My Oracle Support Banner

Java Code Using AWT Fails with "ORA-29532 : Java.Lang.NullPointerException" When shared_servers > 0 (Doc ID 2664153.1)

Last updated on APRIL 29, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


A small piece of java code using Abstract Window Toolkit (AWT) raises "ORA-29532 : Java.Lang.NullPointerException" when the parameter shared_servers is set to > 0 and the PL/SQL wrapper procedure is invoked for the second time and onward using a connection made via listener. The issue doesn't occur with bequeath connection or when the shared_servers is set to 0. The problem can be demonstrated using a sample code mentioned below.


The code is being run for the first time. The issue can be reproduced in any RDBMS version.


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

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