My Oracle Support Banner

NullPointerException Is Thrown When "Test Table Name" Of Data Source Configuration Is NULL. (Doc ID 2216019.1)

Last updated on JANUARY 31, 2020

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

NullPointerException is thrown, as seen in the error below, when "Test Table Name" of Data Source configuration is NULL.

 

 
STEPS


The issue can be reproduced at will with the following steps:
1. Access to Admin Console.

2. Create a Generic Data Source:
a. Domain Structure > Services > Data Source > New > Generic Data Source
b. Select a Thin Driver(Not-XA).
c. Clear "Test Table Name:".

3. Modify the "Connection Pool" of setp2:
a. Domain Structure > Services > Data Source > {DS Name} > Configuration > Connection Pool > Advanced > Test Table Name:
b. Enter "SQL SELECT 1 FROM DUAL" to "Test Table Name:".

4. Click "Activate Chnages".

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
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.