diff options
author | Markus Alexander Kuppe | 2012-01-19 06:27:04 +0000 |
---|---|---|
committer | Markus Alexander Kuppe | 2012-01-19 06:27:04 +0000 |
commit | d9aca990075799b78f6bda6fccb0b6e44422212b (patch) | |
tree | 2cbce50fe3e2ef2cdaabc9b5d641a56b808f0d53 | |
parent | c187d9b6884a5b9a04aff763a0233eb22e8c6f03 (diff) | |
download | org.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
-rw-r--r-- | framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java | 4 |
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); + } } } |