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 10.3.5.0.4 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(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