My Oracle Support Banner

Using UserTransaction.getStatus( ) Throws NullPointerException (Doc ID 393174.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Custom web application uses Spring for transaction handling. When Springs JtaTransactionManager calls

 UserTransaction.getStatus( ) 

it fails with a NullPointerException.

This resulted in application functionality failure.

The following is logged in the log file:



.

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


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