NullPointer at ResultSet.java:113

Поиск
Список
Период
Сортировка
От Hans Deragon
Тема NullPointer at ResultSet.java:113
Дата
Msg-id 3C89EE58.4040101@deragon.biz
обсуждение исходный текст
Ответы Re: NullPointer at ResultSet.java:113  ("Dave Cramer" <Dave@micro-automation.net>)
Список 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 по дате отправления:

Предыдущее
От: Ned Wolpert
Дата:
Сообщение: Re: PostgreSQL & JBoss HOWTO
Следующее
От: Kovács Péter
Дата:
Сообщение: Re: idle in transaction - should I care?