>>>>>Hi!
>>>>>
>>>>>We are experiencing problems on a live application and are getting int=
ermittent errors. The stack trace is as follows. As the system is live, thi=
s is urgent.
>>>>>
>>>>>java.lang.NullPointerException
>>>>> at org.postgresql.Connection.ExecSQL(Connection.java:312)
>>>>> at org.postgresql.jdbc2.Connection.setAutoCommit(Connection.java=
:141)
>>>>> at org.enhydra.jdbc.standard.StandardXADataSource.getFreeConnect=
ion(StandardXADataSource.java:392)
>>>>> at org.enhydra.jdbc.standard.StandardXAConnection.getConnection(=
StandardXAConnection.java:124)
>>>>> at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(St=
andardPoolDataSource.java:186)
>>>>> at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(St=
andardPoolDataSource.java:152)
>>>>> at com.mphasis.give.common.utilities.DatabaseUtil.getConnection(=
DatabaseUtil.java:46)
>>>>> at com.mphasis.give.payment.CartDAO.addToCart(CartDAO.java:161)>=
>>>>
>>>>>We are using JOTM..............
Any help would be appreciated.
Regards,
Dhaval