 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Paulo Costa Guest
|
Posted: Fri Feb 13, 2004 6:13 pm Post subject: Oracle JDBC thin driver sometimes throws NullPointerExceptio |
|
|
Greetings,
I'm using Oracle JDBC thin driver on a web application, and sometimes,
it throws a NullPointerException when trying to load the ResultSet.
I've already check my code and all sql parameters are correct (the
records do exist in the database ). The weirdeist thing is that this
behaviour only occurs sometimes, all other times the records are
loaded correctly.
Here is a piece of my stackTrace:
java.lang.NullPointerException
at oracle.jdbc.driver.ScrollableResultSet.findColumn(ScrollableResultSet.java:1797)
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1482)
at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:155)
If anybody already had the same problem, please let me know.
Thanks in advance,
Paulo Costa
|
|
| Back to top |
|
 |
OlivierBillard Guest
|
Posted: Mon Apr 19, 2004 10:17 am Post subject: Re: Oracle JDBC thin driver sometimes throws NullPointerExce |
|
|
Hi Paulo,
We are experiencing the same problem.
Did you solve this ?
A workaround could be to use directly the column indexes, but even with
the latest patch 9.2.0.5, this bug is still present.
--
Olivier Billard
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|