My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

Applies to:

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


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

####<Dec 26, 2016 4:33:27 PM JST> <Error> <Deployer> <> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1482737607876> <BEA-149265> <Failure occurred in the execution of deployment request with ID "967691318409253" for task "weblogic.deploy.configChangeTask.1". Error is: "weblogic.application.ModuleException: prepareUpdate failed for JDBC Module OraDS02: null"
weblogic.application.ModuleException: prepareUpdate failed for JDBC Module OraDS02: null
at weblogic.jdbc.module.JDBCModule.processUpdate(
at weblogic.jdbc.module.JDBCModule.prepareUpdate(
Caused By: java.lang.NullPointerException
at weblogic.jdbc.common.internal.ConnectionPool.setTestTableName(
at weblogic.jdbc.module.JDBCModule.processCPUpdate(
at weblogic.jdbc.module.JDBCModule.processBeanUpdateEvent(


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


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.