This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 12384 - IndexOutOfBoundsExceptions generated in JPDA Modules
Summary: IndexOutOfBoundsExceptions generated in JPDA Modules
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
: 16023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-05-24 10:19 UTC by Carwyn
Modified: 2001-10-01 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carwyn 2001-05-24 10:19:40 UTC
Sorry folks, all I can give you is a console exception log (below) and tell you
that I was watching the threads in my app using the threads view in the debugger.

== Begin Console Trace ==
java.lang.IndexOutOfBoundsException: Index: 5, Size: 5	at
java.util.ArrayList.RangeCheck(ArrayList.java:491)
	at java.util.ArrayList.get(ArrayList.java:307)
	at
org.netbeans.modules.debugger.jpda.ThreadManager.refreshThreads(ThreadManager.java:157)
	at org.netbeans.modules.debugger.jpda.JPDADebugger$7.run(JPDADebugger.java:923)
	at java.lang.Thread.run(Thread.java:484)
java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
	at java.util.ArrayList.RangeCheck(ArrayList.java:491)
	at java.util.ArrayList.get(ArrayList.java:307)
	at
org.netbeans.modules.debugger.jpda.ThreadManager.refreshThreads(ThreadManager.java:157)
	at org.netbeans.modules.debugger.jpda.JPDADebugger$7.run(JPDADebugger.java:923)
	at java.lang.Thread.run(Thread.java:484)
java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
	at java.util.ArrayList.RangeCheck(ArrayList.java:491)
	at java.util.ArrayList.get(ArrayList.java:307)
	at
org.netbeans.modules.debugger.jpda.ThreadManager.refreshThreads(ThreadManager.java:157)
	at org.netbeans.modules.debugger.jpda.JPDADebugger$7.run(JPDADebugger.java:923)
	at java.lang.Thread.run(Thread.java:484)
java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
	at java.util.ArrayList.RangeCheck(ArrayList.java:491)
	at java.util.ArrayList.get(ArrayList.java:307)
	at
org.netbeans.modules.debugger.jpda.ThreadManager.refreshThreads(ThreadManager.java:157)
	at org.netbeans.modules.debugger.jpda.JPDADebugger$7.run(JPDADebugger.java:923)
	at java.lang.Thread.run(Thread.java:484)
== End Console Trace ==
Comment 1 Carwyn 2001-05-24 10:27:28 UTC
Opps, there is more:

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

Netbeans 3.2 (build 39).

The app I'm debugging tends to have threads with very short lifespans at times.
Comment 2 Marian Petras 2001-05-24 12:55:47 UTC
Already fixed in the main trunk (since build 183).
Comment 3 Marian Petras 2001-10-01 10:03:41 UTC
*** Issue 16023 has been marked as a duplicate of this issue. ***