wood burning stoves*
The moose likes JDBC and the fly likes SQLException: No data found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQLException: No data found" Watch "SQLException: No data found" New topic
Author

SQLException: No data found

Harshal Gurav
Ranch Hand

Joined: May 29, 2008
Posts: 151
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
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

I would look at stacktrace on the first?

Can you post same ?


Shailesh


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
Harshal Gurav
Ranch Hand

Joined: May 29, 2008
Posts: 151
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

Joined: May 29, 2008
Posts: 151
Hi,
Can anyone help here?
Thanks
Harshal
Harshal Gurav
Ranch Hand

Joined: May 29, 2008
Posts: 151
Hi,
Can anyone help here?
Thanks
Harshal
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Consider Paul's rocket mass heater.
 
subject: SQLException: No data found
 
Similar Threads
Unsure how to do subtraction using joined table values
shopping cart -MS Access & JSP Connections
How to retrieve multiple row data from oracle table and show it in jsp page
Write sophisticated code?
this is wot my codes like