Re: Query Executor Problem - Mailing list pgsql-jdbc

From David Hooker
Subject Re: Query Executor Problem
Date
Msg-id 000401c2866e$261e26f0$5c0a0a0a@dhooker
Whole thread Raw
In response to Query Executor Problem  ("Email User" <support@ebusinessoft.com>)
List 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@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Email User
Sent: Wednesday, November 06, 2002 12:35 AM
To: daniel.germain@gipsynet.com
Cc: pgsql-jdbc@postgresql.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@ebusinessoft.com


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


pgsql-jdbc by date:

Previous
From: Daniel Serodio
Date:
Subject: Re: Hi!
Next
From: snpe
Date:
Subject: DatabaseMetaData.getTables problem