Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I research this error?

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Dhaval J. Patel
Ranch Hand
Posts: 90
Eclipse IDE Java Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Research ? What research do you want to do on this ?

Always try and study the stack trace. It contains the name of the exception that occurred, a short description and the line of code on which the exception occurred. The line number and the class mentioned on the top of your stack might not be visible if it is a part of some api. If that is the case go down the stack until you find the line of code you have written. Your stack says that it is a StringIndexOutOfBoundsException. And from the information in the last bit of stack trace, you are trying to substring from a string using indices which are not valid i.e out of bound.

Always try to google the error you get. You will get a solution much more faster than posting a question. And if you do, provide more details on what issue are you facing, what your confusion is and what help are you looking to get.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the code in: DMTemplateLoader.java, line: 4872 ?

WP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic