My Oracle Support Banner

"java.lang.NullPointerException: Null" When Running Websphere Application On Zlinux Servers (Doc ID 2724085.1)

Last updated on APRIL 25, 2023

Applies to:

JDBC - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.0.1 version,

A Webpshere 9 application using JDBC 12.2.0.1 on ZLinux servers fails to retrieve the database connection because of a nullpointer exception in the driver.
The application is trying to use a variable which is null, and the application throws the exception.


The error reported in the application log is:
...
2020-09-22T12:49:39,758 ERROR ....OracleDAO:logError:2361 [350:WMQJCAResourceAdapter : 1:5] - [LIVE,null,null] Error retrieving rules: null
java.lang.NullPointerException: null
...


 The error reported in the database alert log is:
...
Fatal NI connect error 12170.

  VERSION INFORMATION:
TNS for Linux: Version 12.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 12.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 12.2.0.1.0 - Production
  Time: 29-JUL-2020 16:57:15
  Tracing not turned on.
  Tns error struct:
  ns main err code: 12535

TNS-12535: TNS:operation timed out
  ns secondary err code: 12560
  nt main err code: 505

TNS-00505: Operation timed out
  nt secondary err code: 110
  nt OS err code: 0
  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=))


Changes

 

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


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