This content has been marked as final. Show 3 replies
Oak99 wrote:I am guessing there is more to the error message. I would expect that someplace in the stacktrace, there is one or more lines that indicate lines of your code. That is important information in order to resolve the problem. I am guessing you have a String somewhere whose value is "" (empty String) and you are trying to do something that expects the String to contain at least 1 char.
I am getting same error as
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Use code tags when you post code
I am rather certain that either that will always be true or it will at some time throw a null pointer exception when it isn't true.
Oak, you are not posting the whole stacktrace, nor the class.
If you dont want to expose private or corporative information you should use a stacktrace analyzer to solve the problem.
I would post a link to the one we use but usually gets powned by admins. :)