My Oracle Support Banner

Spurious NullPointerException in Java Application (Doc ID 1539092.1)

Last updated on NOVEMBER 15, 2020

Applies to:

Java Platform, Standard Edition - Version 1.6.0 to 7 [Release 1.6 to 7]
Information in this document applies to any platform.


WebLogic Server running on Java SE 6 Update 37 received NullPointerExceptions intermittently in method 'weblogic.jdbc.jta.DataSource.getConnection()'.  The line numbering in the stack trace was sometimes printed, sometimes left out.  Looking up the the specific line number in the source code did not give a clue why there was a NullPointerException encountered.

Java SE used:

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Server VM (build 20.12-b01, mixed mode)

Here is an example, where the stack trace contains complete line numbering:



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.