dbTalk Databases Forums  

Re: [BUGS] java.lang.NullPointerException - at

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] java.lang.NullPointerException - at in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris Jurka
 
Posts: n/a

Default Re: [BUGS] java.lang.NullPointerException - at - 12-09-2003 , 03:16 PM








On Mon, 8 Dec 2003, Dhaval Bhagat wrote:

Quote:
Hi!

We are experiencing problems on a live application and are getting intermittent errors. The stack trace is as follows. As the system is live, this is urgent.

java.lang.NullPointerException
at org.postgresql.Connection.ExecSQL(Connection.java: 312)
at org.postgresql.jdbc2.Connection.setAutoCommit(Conn ection.java:141)
at org.enhydra.jdbc.standard.StandardXADataSource.get FreeConnection(StandardXADataSource.java:392)
at org.enhydra.jdbc.standard.StandardXAConnection.get Connection(StandardXAConnection.java:124)
at org.enhydra.jdbc.pool.StandardPoolDataSource.getCo nnection(StandardPoolDataSource.java:186)
at org.enhydra.jdbc.pool.StandardPoolDataSource.getCo nnection(StandardPoolDataSource.java:152)
at com.mphasis.give.common.utilities.DatabaseUtil.get Connection(DatabaseUtil.java:46)
at com.mphasis.give.payment.CartDAO.addToCart(CartDAO .java:161)

We are using JOTM..............

You have not indicated what version of the JDBC driver you are using, but
the fact that it has org.postgresql.Connection indicates that it is from
the 7.2 series at the newest. Try upgrading to a newer version from
http://jdbc.postgresql.org/download.html

Kris Jurka


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.