• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

exceptions

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic