Why doesn't SuperTrace launch?

Programs Affected: OpenSpan 4.5 and prior


Description

Prior to the release of OpenSpan 4.5 Service Pack 1, a null reference exception was generated within OpenSpan when enabling SuperTrace for .NET applications which reference an OpenSpan project or OpenSpan Runtime. The OpenSpan.SuperTraceLoader.SetSuperTraceOpenSpanLocation() method was incorrectly interpreting the return value of a lower level function as a Boolean when it was actually an HRESULT. The null reference error, from a re-entrant call to diagnostics during static initialization, was caused by an erroneous trace message "logging" SuperTrace not loading correctly.

Solution

With 4.5 SP1, the method now correctly returns a Boolean value based upon a correct method call result.

Article is in the following categories:
KB » Integrator» Runtime Components

KB » Integrator» Troubleshooting


Leave A Comment

or close

Email This Article

or close