Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2012-01-19 01:27:04 -0500
committerMarkus Alexander Kuppe2012-01-19 01:27:04 -0500
commitd9aca990075799b78f6bda6fccb0b6e44422212b (patch)
tree2cbce50fe3e2ef2cdaabc9b5d641a56b808f0d53 /framework/bundles/org.eclipse.ecf.identity/src
parentc187d9b6884a5b9a04aff763a0233eb22e8c6f03 (diff)
downloadorg.eclipse.ecf-d9aca990075799b78f6bda6fccb0b6e44422212b.tar.gz
org.eclipse.ecf-d9aca990075799b78f6bda6fccb0b6e44422212b.tar.xz
org.eclipse.ecf-d9aca990075799b78f6bda6fccb0b6e44422212b.zip
RESOLVED - bug 369023: NullPointerException when tracing in org.eclipse.ecf.core.util.Trace#catching https://bugs.eclipse.org/bugs/show_bug.cgi?id=369023
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.identity/src')
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java
index 8de74db23..a2f6459e8 100644
--- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java
+++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java
@@ -409,7 +409,9 @@ public class Trace {
.append(SEPARATOR_METHOD);
buf.append(methodName).append(PARENTHESIS_CLOSE);
trace(buf.toString());
- throwable.printStackTrace(System.err);
+ if(throwable != null) {
+ throwable.printStackTrace(System.err);
+ }
}
}

Back to the top