• Post Reply Bookmark Topic Watch Topic
  • New Topic

exceptions  RSS feed

 
amit bhadre
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
stu derby
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!