• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
Everybody's invited. Even this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic