wood burning stoves*
The moose likes JDBC and the fly likes java.lang.StringIndexOutOfBoundsException: String index out of range: -1 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 "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" Watch "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" New topic
Author

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Efekodo Kingsley
Greenhorn

Joined: Mar 16, 2009
Posts: 6
need help urgently in identifying the problem with my code.i have table which suppose to retrieve data from database but is giving me an error message.thanks in advance
table class

error message

class using the table class
 
Consider Paul's rocket mass heater.
 
subject: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 
Similar Threads
Jtable CellEditor
updating database cause error
Dynamic textfield creation
caculating the difference between dates
Bean New class wont compile