From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Dhaval Bhagat <dhaval(dot)bhagat(at)mphasis(dot)com> |
Cc: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: java.lang.NullPointerException - at |
Date: | 2003-12-09 21:07:45 |
Message-ID: | Pine.LNX.4.33.0312091603120.3369-100000@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Mon, 8 Dec 2003, Dhaval Bhagat wrote:
> >>>>>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(Connection.java:141)
> >>>>> at org.enhydra.jdbc.standard.StandardXADataSource.getFreeConnection(StandardXADataSource.java:392)
> >>>>> at org.enhydra.jdbc.standard.StandardXAConnection.getConnection(StandardXAConnection.java:124)
> >>>>> at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:186)
> >>>>> at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.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..............
>
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
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2003-12-10 00:53:48 | Re: (ver. 7.4) select netmask('192.168.1.5/24') return '255.255.255.0/24' |
Previous Message | Peter Eisentraut | 2003-12-09 19:28:36 | Re: decode function |