Bug 342976 - [frame sync] ArrayIndexOutOfBoundsException while UI children update
Summary: [frame sync] ArrayIndexOutOfBoundsException while UI children update
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks: 342974
  Show dependency tree
 
Reported: 2011-04-15 09:58 EDT by Patric Rufflar CLA
Modified: 2019-08-22 17:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patric Rufflar CLA 2011-04-15 09:58:12 EDT
Build Identifier: 3.6.2

Error log states "An internal error occurred during: "children update"."

java.lang.ArrayIndexOutOfBoundsException: 10
at java.util.ArrayList.add(ArrayList.java:352)
at org.eclipse.jdt.internal.debug.ui.monitors.JavaMonitor.addElement(JavaMonitor.java:214)
at org.eclipse.jdt.internal.debug.ui.monitors.JavaContendedMonitor.<init>(JavaContendedMonitor.java:50)
at org.eclipse.jdt.internal.debug.ui.monitors.JavaOwningThread.getContendedMonitor(JavaOwningThread.java:74)
at org.eclipse.jdt.internal.debug.ui.monitors.JavaMonitorThread.getContendedMonitor(JavaMonitorThread.java:128)
at org.eclipse.jdt.internal.debug.ui.monitors.ThreadMonitorManager.getContendedMonitor(ThreadMonitorManager.java:206)
at org.eclipse.jdt.debug.ui.JavaDebugUtils.getContendedMonitor(JavaDebugUtils.java:59)
at org.eclipse.jdt.internal.debug.ui.monitors.JavaThreadContentProvider.getChildren(JavaThreadContentProvider.java:88)
at org.eclipse.jdt.internal.debug.ui.monitors.JavaThreadContentProvider.getChildren(JavaThreadContentProvider.java:66)
at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildren(ElementContentProvider.java:87)
at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$1.run(ElementContentProvider.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Reproducible: Didn't try
Comment 1 Michael Rennie CLA 2011-04-15 11:52:45 EDT
Do you have any other information? 

What were you doing when the exception occurred (stepping, resuming, etc)? What kind of launch was it? Do you have steps to reproduce the problem?
Comment 2 Michael Rennie CLA 2011-04-19 11:11:29 EDT
Without further information I am unable to reproduce, but we could prevent this kind of error in the future by making the backing list synchronized since it can be accessed / modified from different threads.
Comment 3 Eclipse Genie CLA 2019-08-22 17:50:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.