Re: Query Executor Problem

From: "David Hooker" <dhooker(at)a4networks(dot)com>
To: "'Email User'" <support(at)ebusinessoft(dot)com>, <daniel(dot)germain(at)gipsynet(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Query Executor Problem
Date: 2002-11-07 14:58:35
Message-ID: 000401c2866e$261e26f0$5c0a0a0a@dhooker
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I had this error as well, and tracked it down to my trying to use a
Connnection object that had been closed.

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Email User
Sent: Wednesday, November 06, 2002 12:35 AM
To: daniel(dot)germain(at)gipsynet(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Query Executor Problem

Hi,
Our web based application which is using postgresql version 7.1.3 is
showing an error as follows.

java.lang.NullPointerException
at
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:61)
at org.postgresql.Connection.ExecSQL(Connection.java:398)
at org.postgresql.jdbc2.Statement.execute(Statement.java:130
at
org.postgresql.jdbc2.Statement.executeQuery(Statement.java:54)
at
com.ebusinessoft.gen.db.DatabaseUtilities.getQueryResults(DatabaseUtilit
ies.java:71)
at com.ebusinessoft.ifos.rsmt.gentrip.doGet(gentrip.java:124)
at com.ebusinessoft.ifos.rsmt.gentrip.doPost(gentrip.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnec
tion(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
8)
at java.lang.Thread.run(Thread.java:484)

This type of message occurs at random and we could not assess the reason
for
this. We greatly appreciate your help on this.

Thanks
Support
support(at)ebusinessoft(dot)com

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message postgres 2002-11-07 21:12:09 PostgresqlDataSource
Previous Message Daniel Serodio 2002-11-07 14:18:07 Re: Hi!