File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes How do I research this error? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How do I research this error?" Watch "How do I research this error?" New topic
Author

How do I research this error?

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 412
Dhaval J. Patel
Ranch Hand

Joined: Mar 10, 2011
Posts: 90

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

Joined: Mar 28, 2012
Posts: 860

What is the code in: DMTemplateLoader.java, line: 4872 ?

WP
 
Consider Paul's rocket mass heater.
 
subject: How do I research this error?
 
Similar Threads
java.lang.IllegalArgumentException: No bean specified
unexpected Exception : by bean
Cannot create Case because cached CaseID is 0.
jar file issue
error message.