wood burning stoves 2.0*
The moose likes JDBC and the fly likes exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "exceptions" Watch "exceptions" New topic
Author

exceptions

amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
The code of function is like follows:





The Exception is thrown as


java.lang.NullPointerException
at cms.history.candidate.InterviewFeedBack.DateFunction(InterviewFeedBack.java:108)
at cms.history.candidate.InterviewFeedBack.main(InterviewFeedBack.java:133)
java.sql.SQLException: ResultSet is closed
at sun.jdbc.odbc.JdbcOdbcResultSet.checkOpen(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.clearWarnings(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.close(Unknown Source)
at cms.history.candidate.InterviewFeedBack.DateFunction(InterviewFeedBack.java:124)
at cms.history.candidate.InterviewFeedBack.main(InterviewFeedBack.java:133)



If u suggest what to do please tell me ...

thanks in advance..

regards
amit bhadre

[ June 27, 2006: Message edited by: amit bhadre ]

[edited to add code tags]
[ June 27, 2006: Message edited by: Jeanne Boyarsky ]

Thanks advance who ever answers this question.


regards
amit bhadre
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
Find line number 108; that's the line that has the error.

If you can't figure it out from that, tell us which line is line number 108.
 
GeeCON Prague 2014
 
subject: exceptions