Skip to main content

alphaWorks  >  Forums  >  IBM Thread and Monitor Dump Analyzer for Java Technology  >  developerWorks

StringIndexOutOfBoundsException when opening a thread dump    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
tweston

Posts: 2
Registered: Jan 21, 2005 04:52:59 AM
StringIndexOutOfBoundsException when opening a thread dump
Posted: Dec 09, 2008 10:47:32 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

I get the following when opening a dump...

Exception while parsing line 2 : Full thread dump Java HotSpot(TM) Server VM (1.5.0_16-b02 mixed mode): in thread_dump.20081205_1438
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Unknown Source)
at com.ibm.jinwoo.thread.FileTask.processThreadDump(FileTask.java:2726)
at com.ibm.jinwoo.thread.FileTask$ActualTask.<init>(FileTask.java:153)
at com.ibm.jinwoo.thread.FileTask$1.construct(FileTask.java:1079)
at com.ibm.jinwoo.thread.ThreadHandler$1.run(ThreadHandler.java:31)
at java.lang.Thread.run(Unknown Source)

or if I remove the 2nd line, I get the following

Exception while parsing line 1 : "http-11120-Processor500" daemon prio=3 tid=0x020dbc50 nid=0x28a2a in Object.wait() http://0x70b7d000..0x70b7faf0 in thread_dump.20081205_1438-2.trc
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)
at com.ibm.jinwoo.thread.FileTask.processThreadDump(FileTask.java:1527)
at com.ibm.jinwoo.thread.FileTask$ActualTask.<init>(FileTask.java:153)
at com.ibm.jinwoo.thread.FileTask$1.construct(FileTask.java:1079)
at com.ibm.jinwoo.thread.ThreadHandler$1.run(ThreadHandler.java:31)
at java.lang.Thread.run(Unknown Source)

Im guessing somehow the dump file I've got is in the wrong format. Any pointers as to what the tool thinks is the correct format?

thanks

Point your RSS reader here for a feed of the latest messages in all forums