• Post Reply Bookmark Topic Watch Topic
  • New Topic

SqlExeption: After End of Result Set  RSS feed

 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I am facing Exception SqlExeption: After End of Result Set whenever I run the code below .



This error is occuring after I have written the stock logic. Please let me know what is the error.
 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post the full error with stack trace, and the full class?
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the stacktrace




Full class is of worth 1053 lines, will it be ok if I put it here?
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the above trace, here is the correct one:


 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason for the full class code would be to get the line numbers correct, but there's another way to do that.  See UseCodeTags (that's a link).  Post the section of code again with the first line number set so that the stack trace numbers line up.
 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I had to guess, the error is happening here:
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for pointing out error I will rectify it and let you know if any other error exist.
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, the SqlException error is resolved, although my logic is not working properly, I will post if any other error exists.
 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad to be of help.
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please tell where is the database file (mysql file) located in the system?
 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe this link will be of assistance.
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks,  got my answer.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!