Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-04-16 05:53:18 +0000
committerUwe Stieber2012-04-16 05:53:18 +0000
commitbda812d44066ce7b72dd795cdc2c3a7ac570220b (patch)
tree90debe9f986f1b72a791860167ce67a2e7d1b235 /target_explorer/plugins/org.eclipse.tcf.te.core
parent53c14a01f98cfbaea8cdca1ba884ddcede59ac97 (diff)
downloadorg.eclipse.tcf-bda812d44066ce7b72dd795cdc2c3a7ac570220b.tar.gz
org.eclipse.tcf-bda812d44066ce7b72dd795cdc2c3a7ac570220b.tar.xz
org.eclipse.tcf-bda812d44066ce7b72dd795cdc2c3a7ac570220b.zip
Target Explorer: Fix IllegalArgumentException on shutdown
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/async/AsyncCallbackCollector.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/async/AsyncCallbackCollector.java b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/async/AsyncCallbackCollector.java
index e5269d9ea..d8c8b2dcd 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/async/AsyncCallbackCollector.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/async/AsyncCallbackCollector.java
@@ -166,8 +166,9 @@ public class AsyncCallbackCollector extends AsyncCallbackHandler {
@Override
public void run() {
Throwable error = getError();
- IStatus status = new Status((error != null ? (error instanceof OperationCanceledException ? IStatus.CANCEL : IStatus.ERROR) : IStatus.OK), CoreBundleActivator
- .getUniqueIdentifier(), 0, (error != null ? error.getMessage() : null), error);
+ IStatus status = new Status((error != null ? (error instanceof OperationCanceledException ? IStatus.CANCEL : IStatus.ERROR) : IStatus.OK),
+ CoreBundleActivator.getUniqueIdentifier() != null ? CoreBundleActivator.getUniqueIdentifier() : "", //$NON-NLS-1$
+ 0, (error != null ? error.getMessage() : null), error);
callback.done(this, status);
}
});

Back to the top