AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Oracle JDBC thin driver sometimes throws NullPointerExceptio

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Paulo Costa
Guest





PostPosted: Fri Feb 13, 2004 6:13 pm    Post subject: Oracle JDBC thin driver sometimes throws NullPointerExceptio Reply with quote



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





PostPosted: Mon Apr 19, 2004 10:17 am    Post subject: Re: Oracle JDBC thin driver sometimes throws NullPointerExce Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.