Exception handler fails

.NET obfuscator and automated error reporting

Exception handler fails

Postby GieltjE » Fri Mar 07, 2014 1:25 pm

This scenario only happens when compiling an X64 program with control flow lower than strongest.

This happens on: ExceptionReporting.Report(exception) and the normal exception handling.

System.NullReferenceException: Object reference not set to an instance of an object.
at SmartAssembly.SmartExceptionsCore.UI.HeaderControl..ctor()
at SmartAssembly.SmartExceptionsCore.UI.HeaderControl..ctor(String )
at SmartAssembly.SmartExceptionsWithUI.ExceptionReportingForm..ctor(UnhandledExceptionHandler , ReportExceptionEventArgs )
at SmartAssembly.SmartExceptionsWithUI.UnhandledExceptionHandlerWithUI.OnReportException(ReportExceptionEventArgs )
at SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception , Boolean , Boolean )


Found the culprit, setting debug info to Full in visual studio fixes it, the weird thing is that X84 works fine with pdb only
Posts: 17
Joined: Sat Aug 24, 2013 12:51 pm

Postby Chris.Allen » Mon Mar 10, 2014 1:52 pm

If you could send a sample reproduction project into us at support@red-gate.com we would investigate this.
Posts: 579
Joined: Thu Mar 12, 2009 3:17 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests