Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351721

Summary: AIOOBE in PeerListControl.updateItems
Product: [Tools] TCF Reporter: Martin Oberhuber <mober.at+eclipse>
Component: DebugAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: aleherb+eclipse, cdtdoug
Version: unspecified   
Target Milestone: 0.4.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Martin Oberhuber CLA 2011-07-11 10:49:56 EDT
Build ID: CDT 8.0 (Indigo)

Open the Launch Configurations Dialog, create a new TCF Launch Config, see this in the errorlog:

Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.eclipse.tm.internal.tcf.cdt.ui.launch.PeerListControl.updateItems(PeerListControl.java:495)
	at org.eclipse.tm.internal.tcf.cdt.ui.launch.PeerListControl.access$1(PeerListControl.java:429)
	at org.eclipse.tm.internal.tcf.cdt.ui.launch.PeerListControl$7.run(PeerListControl.java:407)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 39 more
Comment 1 Anton Leherbauer CLA 2011-07-11 11:30:24 EDT
I assume you created a "TCF Remote Application" launch config.
Comment 2 Martin Oberhuber CLA 2011-07-11 12:00:50 EDT
Yes, maybe (I tried both).
Comment 3 Anton Leherbauer CLA 2011-07-12 04:59:26 EDT
Fixed on trunk.