NullPointer at ResultSet.java:113 - Mailing list pgsql-jdbc

From Hans Deragon
Subject NullPointer at ResultSet.java:113
Date
Msg-id 3C89EE58.4040101@deragon.biz
Whole thread Raw
Responses Re: NullPointer at ResultSet.java:113
List pgsql-jdbc
Greetings.


   Upgraded yesterday to the latest pgjdbc2.jar.  I am using JDK 1.4.0.
  My database is postgresql-7.1.3-2.  I get:

         at org.postgresql.jdbc2.ResultSet.next(ResultSet.java:113)
         at marketmanager.database.StockSymbol.list(StockSymbol.java:93)
         at
marketmanager.datacollection.stocks.YahooCollector.fetchDataFromWeb(YahooCollector.java:56)
         at
marketmanager.datacollection.stocks.YahooCollector.fetchData(YahooCollector.java:111)
         at marketmanager.datacollection.FetchData.main(FetchData.java:13)

   This is a bug for sure.  If there is something wrong I am doing, then
it should have been caught by an exception and report to me what I was
doing wrong.  My code works with an older version of the postgresql jdbc
driver.  And my code is pretty basic.

   I could not find on the development website the source of this code.
  Anybody can provide a pointer?  May I suggest a direct hyperlink to
the code to the development site from the http://jdbc.postgresql.org/?


Ciao
Hans


pgsql-jdbc by date:

Previous
From: Ned Wolpert
Date:
Subject: Re: PostgreSQL & JBoss HOWTO
Next
From: Kovács Péter
Date:
Subject: Re: idle in transaction - should I care?