Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

SQLException: No data found

 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
What will be possible reasons of above exception?
In program once user added all data in add operation,my next operation will be view.once i click on the save button,after inserting all data i make operation as view which call view part of the program. but getting above mentioned exception at marked lines
here is code


Any suggestion is highly appreciated
Thanks
Harshal
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would look at stacktrace on the first?

Can you post same ?


Shailesh
 
Harshal Gurav
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shailesh,
Thanks for your reply.
Sorry for this lengthi code as it coulld help to understand complete problem

Here is the complete stack trace


Thanks again
Harshal
 
Harshal Gurav
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone help here?
Thanks
Harshal
 
Harshal Gurav
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone help here?
Thanks
Harshal
 
author & internet detective
Posts: 39343
755
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Harshal,
While it's good to share all the information available, that is a really long code snippet. I'm not likely to read 17 screens of code (yes I counted) to deduce what line the error is being thrown on. Maybe you could start removing code to come up with a small example that illustrates the problem and point to the offending line directly?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!