• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Null Pointer Exception on Fectching values from Table

 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,
I am getting NullPointer Exception on fetching values from the table. And sometimes if exception doesnt comes then result.next() gives "false" . Please guid me where i am going wrong... Thanks!!!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which line is giving you the exception?

Also, when you run the query at the sql command line, does it return anything?

Finally, what is the value of "area" in the parameter?
 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Jeanne, Thanks for replying. Actually i got through this problem, It was coming because of my SILLIEST mistake. Sorry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic