Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2014-07-04 13:33:17 -0400
committerMarc Khouzam2014-07-07 10:22:39 -0400
commitbb3fd559c9d81b929adc4080b3bcab0f7781a77e (patch)
tree91ec7c4e4c5d88aec5712ed88e43b5fa570cb378 /dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples
parent875e21efb09bf13ce4c04e894e906a44cd9e11d5 (diff)
downloadorg.eclipse.cdt-bb3fd559c9d81b929adc4080b3bcab0f7781a77e.tar.gz
org.eclipse.cdt-bb3fd559c9d81b929adc4080b3bcab0f7781a77e.tar.xz
org.eclipse.cdt-bb3fd559c9d81b929adc4080b3bcab0f7781a77e.zip
Bug 344739 - RejectedExecutionException when terminating a PDA launch
Change-Id: I28cdfcd9aef6c7ece39c29b82459825698dc71bc Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/29488
Diffstat (limited to 'dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples')
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples/dsf/pda/ui/PDAAdapterFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples/dsf/pda/ui/PDAAdapterFactory.java b/dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples/dsf/pda/ui/PDAAdapterFactory.java
index 4bd0b575f82..d78413542e8 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples/dsf/pda/ui/PDAAdapterFactory.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda.ui/src/org/eclipse/cdt/examples/dsf/pda/ui/PDAAdapterFactory.java
@@ -48,6 +48,7 @@ public class PDAAdapterFactory implements IAdapterFactory
if (session == null) return null;
SessionAdapterSet adapterSet = PDAUIPlugin.getDefault().getAdapterSet(launch);
+ if (adapterSet == null) return null;
// Returns the adapter type for the launch object.
if (adapterType.equals(IElementContentProvider.class)) return adapterSet.fViewModelAdapter;

Back to the top