| Summary: | NullPointerException when tracing in org.eclipse.ecf.core.util.Trace#catching | ||
|---|---|---|---|
| Product: | [RT] ECF | Reporter: | Richard Huddleston <rhuddusa> |
| Component: | ecf.core | Assignee: | ecf.core-inbox <ecf.core-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bugs.eclipse.org, slewis, wim.jongman, wim.jongman |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Fixed in git commit d9aca990075799b78f6bda6fccb0b6e44422212b (http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/commit/?id=d9aca990075799b78f6bda6fccb0b6e44422212b) foo Correct me if I'm wrong, but I don't think this one needs the iplog flag set. (In reply to comment #3) > Correct me if I'm wrong, but I don't think this one needs the iplog flag set. It does not. Flag cleared. I am confused about this flag setting. My understanding is that an accepted patch from contributors requires the +iplog flag. (In reply to comment #5) > I am confused about this flag setting. My understanding is that an accepted > patch from contributors requires the +iplog flag. There was no patch, just the bug report from Richard. The fix was identified and committed by Markus...who is a committer on the project...so there's nothing to review. > There was no patch, just the bug report from Richard. The fix was identified
I must have been blind.
|
Build Identifier: ECF Version: 3.5.2.v20110829-0349 this method dies with an NPE if throwable is null public static void catching(String pluginId, String option, Class clazz, String methodName, Throwable throwable) { if (shouldTrace(pluginId, option)) { if (throwable != null) { ... } ... throwable.printStackTrace(System.err); } } Reproducible: Always Steps to Reproduce: Enable tracing, do crazy stuff like me. code looks to still be in latest http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java