Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346125 - Exception when disposing TracingConsole
Summary: Exception when disposing TracingConsole
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 13:04 EDT by Marc Khouzam CLA
Modified: 2011-05-18 02:55 EDT (History)
3 users (show)

See Also:
aleherb+eclipse: review+


Attachments
Fix (1.16 KB, patch)
2011-05-17 13:04 EDT, Marc Khouzam CLA
marc.khouzam: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2011-05-17 13:04:20 EDT
Created attachment 195893 [details]
Fix

I'm getting a RejectedExecutionException in TracingConsole.java:85 since the fix to bug 331232.

To reproduce, run a DSF-GDB session, then terminate it but don't remove it from the launch.  Then launch a new session.  The exception is thrown.

The patch simply protects against that exception which indicates the session has been removed.
Comment 1 Marc Khouzam CLA 2011-05-17 13:05:05 EDT
Committed to HEAD.

Toni, can you review?
Comment 2 CDT Genie CLA 2011-05-17 13:23:07 EDT
*** cdt cvs genie on behalf of mkhouzam ***
Bug 346125 - Exception when disposing TracingConsole

[*] TracingConsole.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/console/TracingConsole.java?root=Tools_Project&r1=1.2&r2=1.3
Comment 3 Anton Leherbauer CLA 2011-05-18 02:55:34 EDT
Thanks, I should have considered that possibility.